Class: BoxPacker::Builder

Inherits:
Object
  • Object
show all
Defined in:
lib/box_packer/builder.rb

Instance Method Summary collapse

Instance Method Details

#container(*args, &b) ⇒ Object



10
11
12
# File 'lib/box_packer/builder.rb', line 10

def container(*args, &b)
  Container.new(*args, &b)
end

#item(*args) ⇒ Object



14
15
16
# File 'lib/box_packer/builder.rb', line 14

def item(*args)
  Item.new(*args)
end