summaryrefslogtreecommitdiffhomepage
path: root/lib/ruby2d/rectangle.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ruby2d/rectangle.rb')
-rw-r--r--lib/ruby2d/rectangle.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/ruby2d/rectangle.rb b/lib/ruby2d/rectangle.rb
index d6ec46c..25f73b1 100644
--- a/lib/ruby2d/rectangle.rb
+++ b/lib/ruby2d/rectangle.rb
@@ -10,10 +10,7 @@ module Ruby2D
@x, @y, @width, @height, @color = x, y, w, h, c
update_coords(x, y, w, h)
update_color(c)
-
- if Module.const_defined? :DSL
- Application.add(self)
- end
+ add
end
def x=(x)