With co-ordinates x y that are in Domieszka module I want to do ray r in
circle class. Are there some modules to serve co-ordinates or is there
the simplest way to do?
module Domieszka
attr_accessor :x, :y
def inspect
"You are in: #{@x} #{@y}"
end
def moveto(x,y)
@x = x
@y = y
return x,y
end
end
--
Posted via http://www.ruby-forum.com/.