Sha256: d22a7eba97206d518f083b609497826a4fdeb5185383f29e7cfd08498076fd7b
Contents?: true
Size: 315 Bytes
Versions: 4
Compression:
Stored size: 315 Bytes
Contents
module Shift module Builder class DBModel attr_accessor :name, :attributes def initialize(name) @name = name.to_s @attributes = [] end def add_attribute(name, type) attribute = { :name => name.to_s, :type => type.to_s } @attributes.push attribute end end end end
Version data entries
4 entries across 4 versions & 1 rubygems