lib/physical/package.rb in physical-0.1.3 vs lib/physical/package.rb in physical-0.1.4
- old
+ new
@@ -10,10 +10,10 @@
@void_fill_density = measured_void_fill_density(void_fill_density, void_fill_density_unit)
@container = container
@items = Set[*items]
end
- def_delegator :@container, :dimensions
+ delegate [:dimensions, :width, :length, :height, :depth, :x, :y, :z] => :container
def <<(item)
@items.add(item)
end