[MacRuby-devel] [MacRuby] #723: nsset + bindings error

2010-05-19 Thread MacRuby
#723: nsset + bindings error ---+ Reporter: jakub.su...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major | Mileston

[MacRuby-devel] CSV still buggy

2010-05-19 Thread Louis-Philippe
Hi, I saw: Ticket #125 (closed defect: fixed) about CSV. I do a pretty simple test: ### require 'csv' CSV.open('testCSV.csv', 'r') do |row| p row end ### this test works in ruby 1.8.7, but in macruby 0.6 I get an empty reader... my arch is: MacRuby version 0.6 (ruby 1.9.0) [universal-d

Re: [MacRuby-devel] MacRuby class inside obj-c

2010-05-19 Thread Thibault Martin-Lagardette
That is correct. Support for blocks in MacRuby is not implemented (yet). :-) -- Thibault Martin-Lagardette On May 19, 2010, at 05:37, Louis-Philippe wrote: > And by trying a bit I see blocks are not supported, > am I right? > > 2010/5/18 Laurent Sansonetti > Indeed, methods with normal arit

Re: [MacRuby-devel] NSLocaliszed* functions missing

2010-05-19 Thread Ed
Hi Dave, NSLocalizedStringFromTable is a C macro defined in NSBundle.h that wraps a call to localizedStringForKey:value:table:. You can call the localize method directly by using something like: NSBundle.mainBundle.localizedStringForKey('key', value:'value', table:'table'). HTH, Ed

[MacRuby-devel] NSLocaliszed* functions missing

2010-05-19 Thread Dave Baldwin
With macruby 0.6 when I try and use NSLocalizedStringFromTable I get the following: ~> macirb irb(main):001:0> framework 'cocoa' => true irb(main):002:0> NSLocalizedStringFromTable('', '', '') NoMethodError: undefined method `NSLocalizedStringFromTable' for main:TopLevel from /Users/dave/

Re: [MacRuby-devel] MacRuby class inside obj-c

2010-05-19 Thread Louis-Philippe
And by trying a bit I see blocks are not supported, am I right? 2010/5/18 Laurent Sansonetti > Indeed, methods with normal arities (0..n arguments) conform to the > Objective-C ABI, so using the bracket syntax just works. But for Ruby > methods using complex arities (like splat or optional argum