Method: TableForHelper#table_for

Defined in:
lib/table_for_helper.rb

#table_for(resources, options = {}, &block) ⇒ Object

Creates a html table from a resource collection



6
7
8
# File 'lib/table_for_helper.rb', line 6

def table_for(resources, options = {}, &block)
  Builder.new(resources, options, &block).to_html
end