lib/Gosuplus/vec2.rb in Gosuplus-1.0 vs lib/Gosuplus/vec2.rb in Gosuplus-1.0.1
- old
+ new
@@ -1,7 +1,9 @@
-class Vec2
- attr_accessor :x, :y
-
- def initialize(x, y)
- @x, @y = x, y
+module Gosuplus
+ class Vec2
+ attr_accessor :x, :y
+
+ def initialize(x, y)
+ @x, @y = x, y
+ end
end
-end
+module Gosuplus
\ No newline at end of file