module Reporta::Column::ClassMethods
Public Instance Methods
column(name, options={})
click to toggle source
# File lib/reporta/models/column.rb, line 34 def column(name, options={}) columns[name] = OpenStruct.new options.reverse_merge( title: name.to_s.humanize ) end