Class: Trestle::Table::SelectColumn

Inherits:
Object
  • Object
show all
Defined in:
lib/trestle/table/select_column.rb

Defined Under Namespace

Classes: Renderer

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ SelectColumn

Returns a new instance of SelectColumn.


6
7
8
# File 'lib/trestle/table/select_column.rb', line 6

def initialize(options={})
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options


4
5
6
# File 'lib/trestle/table/select_column.rb', line 4

def options
  @options
end

Instance Method Details

#renderer(table:, template:) ⇒ Object


10
11
12
# File 'lib/trestle/table/select_column.rb', line 10

def renderer(table:, template:)
  Renderer.new(self, table: table, template: template)
end