Re: [MacRuby-devel] Weird behaviour for a weird line of code

2010-11-18 Thread Eloy Duran
You’re right, thanks :) Back to hacking and learning! On 18 nov 2010, at 17:19, Matt Aimonetti wrote: > Alright chill out people, there is no need for a drama thread. > > For people who don't know Ryan Davis, Ryan is a well known personality of the > Ruby community. > He's a great engineer reco

Re: [MacRuby-devel] Weird behaviour for a weird line of code

2010-11-18 Thread Matt Aimonetti
Alright chill out people, there is no need for a drama thread. For people who don't know Ryan Davis, Ryan is a well known personality of the Ruby community. He's a great engineer recognized for his talent and contributions to the community. However, he is also known to be very passionate about wha

Re: [MacRuby-devel] Weird behaviour for a weird line of code

2010-11-18 Thread Eloy Duran
I don’t want to discuss this at length, but “clearly an exaggeration” is not necessarily true. This is an international mailing-list, i.e. not all native English speakers. As such it's better to refrain from it and instead use clear language such as your “strongly discouraged, because…”. To me i

Re: [MacRuby-devel] Weird behaviour for a weird line of code

2010-11-18 Thread Scott Ribe
On Nov 18, 2010, at 3:02 AM, Eloy Duran wrote: > I see no problem with this, as long as you know what you’re doing (which is > with almost anything). Nor have I witnessed a community where ‘beat downs’ > are acceptable, it’s certainly not this ML. YMMV. While "beat down" is clearly an exaggerat

Re: [MacRuby-devel] Weird behaviour for a weird line of code

2010-11-18 Thread Eloy Duran
> if x = logical_statement then > do_something(x) > else > do_something_else > end > > and whether you're coding in ruby, C/++, or whatever... it is almost always > considered bad form. Avoid it not only for the reasons I mentioned before, > but also to avoid the beat downs you'll get whenever

Re: [MacRuby-devel] calling Objective-C method with block parameter

2010-11-18 Thread Eloy Duran
Ah yes, this is one for a FAQ. Linking against a framework does not automatically make MacRuby read the BridgeSupport files that might be there. But if you use the MacRuby Kernel::framework method, it will do both. (Though it’s not necessary to do it from rb_main.rb, just before the code where y

Re: [MacRuby-devel] calling Objective-C method with block parameter

2010-11-18 Thread Alan Skipp
A wonderful prize indeed! Regarding the bug, I think I've been led astray by Xcode. If I add the framework in the usual way to an Xcode project, the class defintions within the framework become accessible to macruby. Therefore I assumed that by linking to the framework, macruby automatically lo