website/cocoa.txt in sgl-0.4.0 vs website/cocoa.txt in sgl-1.0.0
- old
+ new
@@ -5,21 +5,19 @@
'sgl-cocoa' is a cocoa version of sgl.
You can use sgl functions with Ruby/Cocoa.
h2. Requirement
-You can use this only on Mac OS X.
+You can use sgl-cocoa only on Mac OS X.
-h3. Mac OS X
-
* Mac OS X 10.3 or later
* ruby 1.8.5 or later
* RubyCocoa 0.4.1 or later
h2. The basics
-Save this progarm as @test1.rb@.
<pre syntax="ruby">
+# test1.rb
require "sgl/cocoa"
def setup
window 100, 100
end