Sha256: 4781f8369870e435d5d73e5d71fbc55f31534c5747d7fb059e656ff498d2dfc0
Contents?: true
Size: 242 Bytes
Versions: 2
Compression:
Stored size: 242 Bytes
Contents
module Haversack class Item attr_accessor :weight attr_accessor :size attr_accessor :data def initialize(weight: 1, size: 1, data: nil) @weight = weight @size = size @data = data end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
haversack-1.0.0 | lib/haversack/item.rb |
haversack-0.3.0 | lib/haversack/item.rb |