Class: Array

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

Instance Method Summary collapse

Instance Method Details

#to_pObject



87
88
89
# File 'lib/pieces.rb', line 87

def to_p
  Point[self[0], self[1]]
end