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, #type
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.
91 92 93 94 |
# File 'lib/xforms/control.rb', line 91 def initialize(form) super @items = [] end |
Instance Attribute Details
#items ⇒ Object
Returns the value of attribute items.
89 90 91 |
# File 'lib/xforms/control.rb', line 89 def items @items end |