Class: KirguduBase::DynamicPages::ListProperty
- Inherits:
-
Property
- Object
- Property
- KirguduBase::DynamicPages::ListProperty
- Defined in:
- app/models/kirgudu_base/dynamic_pages/list_property.rb
Instance Attribute Summary collapse
-
#inplace_edit ⇒ Object
Returns the value of attribute inplace_edit.
-
#label ⇒ Object
Returns the value of attribute label.
-
#output_control ⇒ Object
Returns the value of attribute output_control.
-
#placeholder ⇒ Object
Returns the value of attribute placeholder.
-
#sortable ⇒ Object
Returns the value of attribute sortable.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ ListProperty
constructor
A new instance of ListProperty.
Constructor Details
#initialize(options = {}) ⇒ ListProperty
Returns a new instance of ListProperty.
12 13 14 15 16 17 18 19 20 21 |
# File 'app/models/kirgudu_base/dynamic_pages/list_property.rb', line 12 def initialize( = {}) ||= {} self.sortable = :false self.inplace_edit = :false self.label = nil self.output_control = nil self.placeholder = nil super() end |
Instance Attribute Details
#inplace_edit ⇒ Object
Returns the value of attribute inplace_edit.
24 25 26 |
# File 'app/models/kirgudu_base/dynamic_pages/list_property.rb', line 24 def inplace_edit @inplace_edit end |
#label ⇒ Object
Returns the value of attribute label.
25 26 27 |
# File 'app/models/kirgudu_base/dynamic_pages/list_property.rb', line 25 def label @label end |
#output_control ⇒ Object
Returns the value of attribute output_control.
26 27 28 |
# File 'app/models/kirgudu_base/dynamic_pages/list_property.rb', line 26 def output_control @output_control end |
#placeholder ⇒ Object
Returns the value of attribute placeholder.
27 28 29 |
# File 'app/models/kirgudu_base/dynamic_pages/list_property.rb', line 27 def placeholder @placeholder end |
#sortable ⇒ Object
Returns the value of attribute sortable.
23 24 25 |
# File 'app/models/kirgudu_base/dynamic_pages/list_property.rb', line 23 def sortable @sortable end |