Sha256: e1d1ea2a02dc7e5c5015467a3f00947748eac547ef50422b494733b64d970ed7
Contents?: true
Size: 625 Bytes
Versions: 12
Compression:
Stored size: 625 Bytes
Contents
require "table_builder/version" require 'action_view/helpers/tag_helper' require 'table_builder/tag' require 'table_builder/cell' require 'table_builder/row' require 'table_builder/rows' require 'table_builder/body' require 'table_builder/head' require 'table_builder/foot' require 'table_builder/column' require 'table_builder/table' module TableBuilder mattr_accessor :options self.options = { :alternate_rows => true, :i18n_scope => nil } def table_for(collection = [], options = {}, &block) Table.new(self, collection, options, &block).render end end TableBuilder.options[:i18n_scope] = :adva
Version data entries
12 entries across 12 versions & 2 rubygems