Sha256: f8a936a0d7a2a18792b4caa75bbeff4a5d6b1c6400dfed03701fc405ba5b5dbd
Contents?: true
Size: 184 Bytes
Versions: 4
Compression:
Stored size: 184 Bytes
Contents
module Enlight module Models class Model attr_accessor :id def initialize(attributes={}) attributes.each {|k,v| send("#{k}=", v)} end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
enlight-0.1.4 | lib/enlight/models/model.rb |
enlight-0.1.3 | lib/enlight/models/model.rb |
enlight-0.1.2 | lib/enlight/models/model.rb |
enlight-0.1.0 | lib/enlight/models/model.rb |