Class: ActiveList::Definition::CheckBoxColumn
- Inherits:
-
FieldColumn
- Object
- AbstractColumn
- FieldColumn
- ActiveList::Definition::CheckBoxColumn
- Defined in:
- lib/active_list/definition/check_box_column.rb
Instance Attribute Summary collapse
-
#form_value ⇒ Object
readonly
Returns the value of attribute form_value.
Attributes inherited from FieldColumn
Attributes inherited from AbstractColumn
Instance Method Summary collapse
-
#initialize(table, name, options = {}) ⇒ CheckBoxColumn
constructor
A new instance of CheckBoxColumn.
Methods inherited from FieldColumn
Methods inherited from AbstractColumn
#check_options!, #exportable?, #header_code, #hidden?, #short_id, #sortable?, #unique_id
Constructor Details
#initialize(table, name, options = {}) ⇒ CheckBoxColumn
Returns a new instance of CheckBoxColumn.
8 9 10 11 |
# File 'lib/active_list/definition/check_box_column.rb', line 8 def initialize(table, name, = {}) super(table, name, ) @form_value = .delete(:form_value) end |
Instance Attribute Details
#form_value ⇒ Object (readonly)
Returns the value of attribute form_value.
6 7 8 |
# File 'lib/active_list/definition/check_box_column.rb', line 6 def form_value @form_value end |