module WashOut::Model
Public Instance Methods
wash_out_columns()
click to toggle source
# File lib/wash_out/model.rb, line 3 def wash_out_columns columns_hash end
wash_out_param_map()
click to toggle source
# File lib/wash_out/model.rb, line 7 def wash_out_param_map types = { :text => :string, :float => :double, :decimal => :double, :timestamp => :string } map = {} wash_out_columns.each do |key, column| type = column.type type = types[type] if types.has_key?(type) map[key] = type end map end
wash_out_param_name(*args)
click to toggle source
# File lib/wash_out/model.rb, line 25 def wash_out_param_name(*args) return name.underscore end