[MacRuby-devel] [MacRuby] #119: Cannot use 'send' to call a setCompletes on an NSComboBox instance

MacRuby ruby-noreply at macosforge.org
Sun Aug 31 20:08:56 PDT 2008


#119: Cannot use 'send' to call a setCompletes on an NSComboBox instance
--------------------------------+-------------------------------------------
 Reporter:  rich at infoether.com  |       Owner:  lsansonetti at apple.com
     Type:  defect              |      Status:  new                  
 Priority:  blocker             |   Milestone:  MacRuby 0.3          
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------
 tmp.rb:
 framework 'cocoa'
 cb = NSComboBox.alloc.initWithFrame([0,0,10,10])
 cb.send("setCompletes", true)

 macruby tmp.rb
 tmp.rb:3:in `send:': #<NSCFBoolean:0xa0047400> is not a symbol (TypeError)
    from tmp.rb:3:in `setCompletes'
    from tmp.rb:3:in `<main>'

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/119>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list