Class: OpenRosa::Fields::Trigger
- Defined in:
- lib/open_rosa/fields/trigger.rb
Overview
Trigger field for confirmation buttons/checkboxes
Maps to XForms
Instance Attribute Summary collapse
-
#appearance ⇒ Object
readonly
Returns the value of attribute appearance.
Attributes inherited from Base
#default, #hint, #label, #name, #required
Instance Method Summary collapse
-
#initialize(name, options = {}) ⇒ Trigger
constructor
A new instance of Trigger.
Constructor Details
#initialize(name, options = {}) ⇒ Trigger
Returns a new instance of Trigger.
11 12 13 14 |
# File 'lib/open_rosa/fields/trigger.rb', line 11 def initialize(name, = {}) super @appearance = [:appearance] end |
Instance Attribute Details
#appearance ⇒ Object (readonly)
Returns the value of attribute appearance.
9 10 11 |
# File 'lib/open_rosa/fields/trigger.rb', line 9 def appearance @appearance end |