[MacRuby-devel] I tried converting a working script rubycocoa script to macruby and it failed on this line...

2008-12-11 Thread Tim Rand
NSDistributedNotificationCenter.defaultCenter.addObserver_selector_name_object(self, :next_number, "next number", "com.imasender") #Working RubyCocoa line NSDistributedNotificationCenter.defaultCenter.addObserver self, selector: :next_number, name: "next number", object: "com.imasender" #But g

Re: [MacRuby-devel] I tried converting a working script rubycocoa script to macruby and it failed on this line...

2008-12-11 Thread Vincent Isambart
Hi, > NSDistributedNotificationCenter.defaultCenter.addObserver self, > selector: :next_number, name: "next number", object: "com.imasender" #But > gives the error below when converted to MacRuby grammer and run with > macruby. > > It's driving me crazy. If the statement is a correct translati