Just because RubyMotion is compiled doesn't mean it can't have metaprogramming 
and reflection abilities. These features are not orthogonal to each other. It 
is true that most compiled languages DON'T have these features, but objective-c 
definitely DOES.

For some light reading, check out (if you're curious) the Objective-C runtime 
functions. It's easy to see how RubyMotion can take advantages of that system. 

On the topic of "if it doesn't implement feature ‘X’ then its not Ruby": There 
is not just one implementation of Ruby. The standard library and syntax are 
defined by the MRI implementation, but JRuby, IronRuby, Maglev and Rubinius all 
introduce different takes (and then there's mruby, but it's not fair to compare 
that one).

There is an oft-quoted Ruby-ism that applies here: "If it looks like Ruby, and 
walks like Ruby, it's Ruby" ;-)

#colinta

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macruby-devel

Reply via email to