module Greentable::ViewHelpers

Public Instance Methods

greentable(records, opts = {}, &block) click to toggle source
# File lib/greentable/view_helpers.rb, line 5
def greentable(records, opts = {}, &block)
  gt = Table.new(self, records, opts)
  gt.process(&block)
end