examples/cocoa1-basic.rb in sgl-0.4.0 vs examples/cocoa1-basic.rb in sgl-1.0.0
- old
+ new
@@ -1,14 +1,14 @@
-#!/usr/bin/env ruby
-# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
-
-require "sgl/cocoa"
-
-def setup
- window 100, 100
-end
-
-def display
- line 0, 0, 100, 100
-end
-
-mainloop
+#!/usr/bin/env ruby
+# Copyright (C) 2004-2007 Kouichirou Eto, All rights reserved.
+
+require "sgl/cocoa"
+
+def setup
+ window 100, 100
+end
+
+def display
+ line 0, 0, 100, 100
+end
+
+mainloop