#84: NSColor method dispatching problems ---------------------------------+------------------------------------------ Reporter: psychs@limechat.net | Owner: lsansonetti@apple.com Type: defect | Status: closed Priority: major | Milestone: Component: MacRuby | Resolution: invalid Keywords: | ---------------------------------+------------------------------------------ Changes (by lsansonetti@apple.com): * status: new => closed * resolution: => invalid Comment: This looks like an expected behavior. {{{colorWithCalibratedRed_green_blue_alpha(a, b, c, d)}}} is RubyCocoa- like syntax, which is not supported in !MacRuby. It has to be rewritten like {{{colorWithCalibratedRed(a, green:b, blue:c, alpha:d)}}}. Corresponding Objective-C method is: {{{+ (NSColor *)colorWithCalibratedRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha}}} What do you think? -- Ticket URL: <http://ruby.macosforge.org/trac/ticket/84#comment:1> macruby <http://ruby.macosforge.org/>