Class: KirguduBase::DynamicPages::ListProperty

Inherits:
Property
  • Object
show all
Defined in:
app/models/kirgudu_base/dynamic_pages/list_property.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(options = {})
	options ||= {}
	self.sortable = :false
	self.inplace_edit = :false
	self.label = nil
	self.output_control = nil
	self.placeholder = nil

	super(options)
end

Instance Attribute Details

#inplace_editObject

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

#labelObject

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_controlObject

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

#placeholderObject

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

#sortableObject

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