[MacRuby-devel] looking for ruby-sher syntax

Thomas R. Koll info at ananasblau.com
Fri Apr 1 04:29:30 PDT 2011


I just used a little transformation in a new game (pic [1], demo later)
and wrote this which looks rubish and not so ruby-sh:

transform = NSAffineTransform.transform
transform.translateXBy 20, yBy: 20      # looks ugly

The MacRuby examples are all like this, and #translate doesn't exist,
but I wonder if I missed something there?

ciao, tom

[1] https://skitch.com/tomk32/rahp3/sirtet

More information about the MacRuby-devel mailing list