module AttributeColumn::ClassMethods
Public Instance Methods
attribute_column(name, attribute_type)
click to toggle source
# File lib/attribute_column.rb, line 30 def attribute_column(name, attribute_type) columns_hash[name.to_sym] = AttributeColumn.generate({name: name, type: attribute_type}) end
columns_hash()
click to toggle source
# File lib/attribute_column.rb, line 26 def columns_hash @columns_hash ||= {} end