summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorTom Black <[email protected]>2015-12-25 23:32:46 -0600
committerTom Black <[email protected]>2015-12-25 23:32:46 -0600
commit427d15a4abb58e8cc90f00928b2c04e5e6053168 (patch)
tree0e3fc6835129d5b336751bc7f4c7688692449429 /lib
parent96de24a02c6a56d13dbedd47d1e0f7170c40ac7f (diff)
downloadruby2d-427d15a4abb58e8cc90f00928b2c04e5e6053168.tar.gz
ruby2d-427d15a4abb58e8cc90f00928b2c04e5e6053168.zip
Add clearing window to DSL
Diffstat (limited to 'lib')
-rw-r--r--lib/ruby2d/dsl.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ruby2d/dsl.rb b/lib/ruby2d/dsl.rb
index 2c8db94..ef8f384 100644
--- a/lib/ruby2d/dsl.rb
+++ b/lib/ruby2d/dsl.rb
@@ -24,4 +24,8 @@ module Ruby2D::DSL
def show
Ruby2D::Application.show
end
+
+ def clear
+ Ruby2D::Application.clear
+ end
end