Class | CGIKit::Declaration |
In: |
lib/cgikit/declaration.rb
|
Parent: | Object |
A Declaration object has a declaration set.
ex) :BindingName => { :element => String, # element type (class) :value => :'method.chain', # symbol value is dealt as method chain :empty => false # other value is dealt as constant value }
ELEMENT_KEY | = | :element |
OTHER_KEY | = | :other |
VALIDATE_KEY | = | :validate |
PASS_KEY | = | :pass |
ENABLED_KEY | = | :enabled |
DELEGATE_KEY | = | :delegate |
SPECIAL_BINDING_KEYS | = | [ELEMENT_KEY, OTHER_KEY, DELEGATE_KEY] |
association_hash | [RW] | |
element_name | [RW] | |
element_type | [RW] |