Sha256: 60a24cbda45ec83d1ecd862a8725f195e4446a32acfecfd6453ddb882ff17835
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
require 'kangaroo/model/attributes' module Kangaroo module Model class Field include Attributes attr_accessor :name def initialize name, attributes = {} @attributes = {} @name = name attributes.each do |key, val| write_attribute key, val end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kangaroo-0.0.1.pre | lib/kangaroo/model/field.rb |