Sha256: 2222753039b5122c8e7dd1c1f088ee11a0c46c1e8e2bda63a08a703c929312ca
Contents?: true
Size: 465 Bytes
Versions: 1
Compression:
Stored size: 465 Bytes
Contents
h1. sgl-cocoa → sgl with Ruby/Cocoa h2. What 'sgl-cocoa' is a cocoa version of sgl. You can use sgl functions with Ruby/Cocoa. h2. Requirement You can use sgl-cocoa only on 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 <pre syntax="ruby"> # test1.rb require "sgl/cocoa" def setup window 100, 100 end def display line 0, 0, 100, 100 end mainloop </pre> Run the program with @ruby test1.rb@.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sgl-1.0.0 | website/cocoa.txt |