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(table) ⇒ SelectColumn

Returns a new instance of SelectColumn.



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

def initialize(table)
  @table = table
end

Instance Attribute Details

#tableObject (readonly)

Returns the value of attribute table.



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

def table
  @table
end

Instance Method Details

#renderer(template) ⇒ Object



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

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