Class: LessForm::Radio
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
Methods inherited from Element
#click, #displayed?, #flash, #initialize, #method_missing, #text, #valid_element?
Constructor Details
This class inherits a constructor from LessForm::Element
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class LessForm::Element
Instance Method Details
#set ⇒ Object
8 9 10 |
# File 'lib/less-form/radio.rb', line 8 def set @element.click end |
#set? ⇒ Boolean
4 5 6 |
# File 'lib/less-form/radio.rb', line 4 def set? @element.selected? end |