examples/cocoa11-application.rb in sgl-0.4.0 vs examples/cocoa11-application.rb in sgl-1.0.0
- old
+ new
@@ -1,13 +1,13 @@
-#!/usr/bin/env ruby
-# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
-
-require "sgl/cocoa-app"
-
-app = SGL::Application.new
-app.set_setup {
- app.window(100, 100)
-}
-app.set_display {
- app.line(0, 0, 100, 100)
-}
-app.mainloop
+#!/usr/bin/env ruby
+# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
+
+require "sgl/cocoa-app"
+
+app = SGL::Application.new
+app.set_setup {
+ app.window(100, 100)
+}
+app.set_display {
+ app.line(0, 0, 100, 100)
+}
+app.mainloop