gui_geometry 0.0.1 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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