gui_geometry 0.0.1 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gui_geometry/tools.rb +2 -4
- data/lib/gui_geometry/version.rb +1 -1
- metadata +1 -1
data/lib/gui_geometry/tools.rb
CHANGED
@@ -4,9 +4,7 @@ module Tools
|
|
4
4
|
def max(a,b) a > b ? a : b; end
|
5
5
|
def bound(a,bounded,c) bounded < a ? a : (bounded > c) ? c : bounded; end
|
6
6
|
|
7
|
-
def point(*args); Point.new *args end
|
8
|
-
def rect(*args); Rectangle.new *args end
|
9
|
-
def buffer(*args); Buffer.new *args end
|
10
|
-
def window(*args); Window.new *args end
|
7
|
+
def point(*args); GuiGeometry::Point.new *args end
|
8
|
+
def rect(*args); GuiGeometry::Rectangle.new *args end
|
11
9
|
end
|
12
10
|
end
|
data/lib/gui_geometry/version.rb
CHANGED