Class: Interview::ImageAttribute
- Includes:
- HasHtmlOptions
- Defined in:
- lib/interview/controls/image_attribute.rb
Instance Attribute Summary collapse
-
#hide_if_not_exists ⇒ Object
Returns the value of attribute hide_if_not_exists.
-
#image_style ⇒ Object
Returns the value of attribute image_style.
-
#object ⇒ Object
Returns the value of attribute object.
Attributes included from HasHtmlOptions
Attributes inherited from Attribute
#caption, #caption_as_placeholder, #link, #method, #nil_value, #style, #tooltip, #value
Attributes inherited from Control
Method Summary
Methods included from HasHtmlOptions
Methods inherited from Attribute
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_exists ⇒ Object
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_style ⇒ Object
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 |
#object ⇒ Object
Returns the value of attribute object.
11 12 13 |
# File 'lib/interview/controls/image_attribute.rb', line 11 def object @object end |