Class: XForms::Select1
Instance Attribute Summary collapse
-
#items ⇒ Object
Returns the value of attribute items.
Attributes inherited from Control
#binding, #constraint, #constraint_message, #form, #readonly, #relevant
Attributes included from Label
Instance Method Summary collapse
-
#initialize(form) ⇒ Select1
constructor
A new instance of Select1.
Methods inherited from Control
#relevant?, #valid?, #value, #value=
Constructor Details
#initialize(form) ⇒ Select1
Returns a new instance of Select1.
77 78 79 80 |
# File 'lib/xforms/control.rb', line 77 def initialize(form) super @items = [] end |
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
75 76 77 |
# File 'lib/xforms/control.rb', line 75 def items @items end |