class Shortcut::Point

Attributes

x[R]
y[R]

Public Class Methods

new(x, y) click to toggle source
# File lib/shortcut/point.rb, line 5
def initialize(x, y)
  @x, @y = x, y
end

Public Instance Methods

to_s() click to toggle source
# File lib/shortcut/point.rb, line 9
def to_s
  "#{@x}, #{@y}"
end