class Trestle::Table::Row

Attributes

block[R]
options[R]

Public Class Methods

new(options={}, &block) click to toggle source
# File lib/trestle/table/row.rb, line 6
def initialize(options={}, &block)
  @options = options
  @block = block if block_given?
end

Public Instance Methods

renderer(table:, template:) click to toggle source
# File lib/trestle/table/row.rb, line 11
def renderer(table:, template:)
  Renderer.new(self, table: table, template: template)
end