Module: Tubular::Helper
- Defined in:
- lib/tubular/helper.rb
Instance Method Summary collapse
Instance Method Details
#table_for(collection, options = {}, &block) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/tubular/helper.rb', line 3 def table_for(collection, = {}, &block) .merge!({ :context => self, :collection => collection }) Builder.render(, &block) end |