Sha256: e2b19a1071fc3ef161482621525e9fc194de5c93ea28dd312a0d2bcda12f7ca9
Contents?: true
Size: 178 Bytes
Versions: 2
Compression:
Stored size: 178 Bytes
Contents
class Item attr_accessor :city, :price, :description, :url def initialize(item_attributes) item_attributes.each {|key, value| self.send(("#{key}="), value)} end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
applephile-0.1.1 | lib/item.rb |
applephile-0.1.0 | lib/item.rb |