Class: Interview::OptionAttribute

Inherits:
Attribute show all
Defined in:
lib/interview/controls/option_attribute.rb

Instance Attribute Summary collapse

Attributes inherited from Attribute

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

Attributes included from HasHtmlOptions

#html_options

Attributes inherited from Control

#parent

Method Summary

Methods inherited from Attribute

#build, #build_caption

Methods included from HasHtmlOptions

#initialize

Methods inherited from Control

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

Instance Attribute Details

#html_classObject

Returns the value of attribute html_class.



4
5
6
# File 'lib/interview/controls/option_attribute.rb', line 4

def html_class
  @html_class
end

#use_radiosObject

Returns the value of attribute use_radios.



4
5
6
# File 'lib/interview/controls/option_attribute.rb', line 4

def use_radios
  @use_radios
end