lib/physical/package.rb in physical-0.2.0 vs lib/physical/package.rb in physical-0.3.0

- old
+ new

@@ -10,10 +10,10 @@ @void_fill_density = Types::Weight[void_fill_density] @container = container || Physical::Box.new(dimensions: dimensions || [], weight: weight || Measured::Weight(0, :g), properties: properties) @items = Set[*items] end - delegate [:dimensions, :width, :length, :height, :depth, :x, :y, :z, :properties] => :container + delegate [:dimensions, :width, :length, :height, :properties] => :container def <<(item) @items.add(item) end