Class: XForms::Item
Instance Attribute Summary collapse
-
#form ⇒ Object
Returns the value of attribute form.
-
#value ⇒ Object
Returns the value of attribute value.
Attributes included from Label
Instance Method Summary collapse
-
#initialize(form, label = nil, value = nil) ⇒ Item
constructor
A new instance of Item.
Constructor Details
#initialize(form, label = nil, value = nil) ⇒ Item
Returns a new instance of Item.
102 103 104 105 106 |
# File 'lib/xforms/control.rb', line 102 def initialize(form, label = nil, value = nil) @form = form @label = label @value = value end |