# File lib/rbase/schema.rb, line 36 def column(name, type, options = {}) name = name.to_s.upcase case type when :string then type = 'C' when :integer then type = 'N' when :float then type = 'N' options[:decimal] ||= 6 when :boolean then type = 'L' when :date then type = 'D' end @columns << Columns::Column.column_for(type).new(name, options) end