Class: BoxPacker::Position

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

Instance Attribute Summary

Attributes inherited from Vector

#x, #y, #z

Instance Method Summary collapse

Methods inherited from Vector

#+, #-, #==, [], #depth, #eql?, #height, #initialize, #to_a, #width

Constructor Details

This class inherits a constructor from BoxPacker::Vector

Instance Method Details

#to_sObject



5
6
7
# File 'lib/box_packer/position.rb', line 5

def to_s
  "(#{to_a.join(',')})"
end