Module: EffectiveTableBuilderHelper

Defined in:
app/helpers/effective_table_builder_helper.rb

Instance Method Summary collapse

Instance Method Details

#effective_table_with(resource, options = {}, &block) ⇒ Object



5
6
7
8
# File 'app/helpers/effective_table_builder_helper.rb', line 5

def effective_table_with(resource, options = {}, &block)
  builder = Effective::TableBuilder.new(resource, self, options)
  builder.render(&block)
end