[MacRuby-devel] [macruby] #107: array arguments raise ArgumentError
macruby
ruby-noreply at macosforge.org
Mon Jul 28 11:46:49 PDT 2008
#107: array arguments raise ArgumentError
-------------------------------+--------------------------------------------
Reporter: toast at drtoast.com | Owner: lsansonetti at apple.com
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
-------------------------------+--------------------------------------------
In RubyCocoa I could do this:
`cgcolor = CGColorCreate(colorspace,[1.0,1.0,1.0,1.0])`
But the same thing in MacRuby gives me this error:
`ArgumentError: can't convert Ruby object `[1.0, 1.0, 0.0, 1.0]' to
Objective-C value of type `^f'`
--
Ticket URL: <http://www.macruby.org/trac/ticket/107>
macruby <http://macruby.org/>
More information about the MacRuby-devel
mailing list