Module: TableMe

Defined in:
lib/table_me/table_vo.rb,
lib/table_me.rb,
lib/table_me/column.rb,
lib/table_me/engine.rb,
lib/table_me/filter.rb,
lib/table_me/builder.rb,
lib/table_me/version.rb,
lib/table_me/url_parser.rb,
lib/table_me/url_builder.rb,
lib/table_me/table_pagination.rb,
lib/table_me/table_me_presenter.rb,
lib/table_me/table_for_presenter.rb,
lib/table_me/table_me_helper/table_me_helper.rb,
lib/table_me/table_for_helper/table_for_helper.rb

Overview

table_for :user do |t|

t.filter :email
t.filter :name
t.column :id
t.column :email 
t.column :name

end

Defined Under Namespace

Modules: TableForHelper, TableMeHelper Classes: Builder, Column, Engine, Filter, TableForPresenter, TableMePresenter, TablePagination, TableVO, URLParser, UrlBuilder

Constant Summary collapse

VERSION =
"0.0.3"

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yield self on setup for nice config blocks

Yields:

  • (_self)

Yield Parameters:

  • _self (TableMe)

    the object that the method was called on



8
9
10
# File 'lib/table_me.rb', line 8

def self.setup
  yield self
end