Class: Interview::ImageAttribute

Inherits:
Attribute show all
Includes:
HasHtmlOptions
Defined in:
lib/interview/controls/image_attribute.rb

Instance Attribute Summary collapse

Attributes included from HasHtmlOptions

#html_class, #html_options

Attributes inherited from Attribute

#caption, #caption_as_placeholder, #link, #method, #nil_value, #style, #tooltip, #value

Attributes inherited from Control

#parent

Method Summary

Methods included from HasHtmlOptions

#initialize

Methods inherited from Attribute

#build, #build_caption

Methods inherited from Control

#ancestors, #build, #build_child, #build_with_params, #find_attribute, #find_attribute!, #initialize, #set_attributes, #set_defaults

Instance Attribute Details

#hide_if_not_existsObject

Returns the value of attribute hide_if_not_exists.



11
12
13
# File 'lib/interview/controls/image_attribute.rb', line 11

def hide_if_not_exists
  @hide_if_not_exists
end

#image_styleObject

Returns the value of attribute image_style.



11
12
13
# File 'lib/interview/controls/image_attribute.rb', line 11

def image_style
  @image_style
end

#objectObject

Returns the value of attribute object.



11
12
13
# File 'lib/interview/controls/image_attribute.rb', line 11

def object
  @object
end