module Autotable::Helper

Public Instance Methods

autotable(collection, options = {}) { |builder| ... } click to toggle source
# File lib/autotable/helper.rb, line 3
def autotable(collection, options = {})
  builder = ::Autotable::Builder.new(collection, self, options)
  yield builder if block_given?
  builder.to_html
end