Sha256: 9d5cc3d1f827150f8aebe9b7803b2b10c1e6a47c197a3828cbfe9f6eaec5d621

Contents?: true

Size: 767 Bytes

Versions: 2

Compression:

Stored size: 767 Bytes

Contents

require 'action_view'
require 'table_cloth/version'
require 'table_cloth/base'

module TableCloth
  autoload :Configuration, 'table_cloth/configuration'
  autoload :Builder, 'table_cloth/builder'
  autoload :Column, 'table_cloth/column'
  autoload :Action, 'table_cloth/action'
  autoload :Presenter, 'table_cloth/presenter'
  autoload :ActionViewExtension, 'table_cloth/action_view_extension'

  module Presenters
    autoload :Default, 'table_cloth/presenters/default'
  end

  module Columns
    autoload :Action, 'table_cloth/columns/action'
  end

  extend self
  def self.config_for(type)
    Configuration.config_for(type)
  end
end

TableCloth::Base.presenter ::TableCloth::Presenters::Default

ActionView::Base.send(:include, TableCloth::ActionViewExtension)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
table_cloth-0.1.1 lib/table_cloth.rb
table_cloth-0.1.0 lib/table_cloth.rb