Sha256: 08160d90240e497bda136448149b1836fe7404c8ecb72833a9609ffc1d738e4f

Contents?: true

Size: 225 Bytes

Versions: 4

Compression:

Stored size: 225 Bytes

Contents

module Trestle
  module TableHelper
    def table(collection, options={}, &block)
      table = Table::Builder.build(options, &block)
      render "trestle/table/table", table: table, collection: collection
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.8.6 app/helpers/trestle/table_helper.rb
trestle-0.8.5 app/helpers/trestle/table_helper.rb
trestle-0.8.4 app/helpers/trestle/table_helper.rb
trestle-0.8.3 app/helpers/trestle/table_helper.rb