class Hexagonly::Point

Attributes

x[RW]
y[RW]

Public Class Methods

new(*coords) click to toggle source

(see set_coords)

# File lib/hexagonly/point.rb, line 111
def initialize(*coords)
  set_coords(*coords) if coords.size == 2
end