Class: Trestle::Table::SelectColumn
- Inherits:
-
Object
- Object
- Trestle::Table::SelectColumn
- Defined in:
- lib/trestle/table/select_column.rb
Defined Under Namespace
Classes: Renderer
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#table ⇒ Object
readonly
Returns the value of attribute table.
Instance Method Summary collapse
-
#initialize(table, options = {}) ⇒ SelectColumn
constructor
A new instance of SelectColumn.
- #renderer(template) ⇒ Object
Constructor Details
#initialize(table, options = {}) ⇒ SelectColumn
Returns a new instance of SelectColumn.
6 7 8 |
# File 'lib/trestle/table/select_column.rb', line 6 def initialize(table, ={}) @table, @options = table, end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
4 5 6 |
# File 'lib/trestle/table/select_column.rb', line 4 def @options end |
#table ⇒ Object (readonly)
Returns the value of attribute table.
4 5 6 |
# File 'lib/trestle/table/select_column.rb', line 4 def table @table end |