Class: FormReader::Option
Instance Attribute Summary collapse
-
#selected ⇒ Object
Returns the value of attribute selected.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value, selected) ⇒ Option
constructor
A new instance of Option.
Constructor Details
#initialize(value, selected) ⇒ Option
Returns a new instance of Option.
102 103 104 |
# File 'lib/web/formreader.rb', line 102 def initialize( value, selected ) @value = value; @selected = selected end |