[MacRuby-devel] book idea - "making it look like Ruby"

Arthur Gunn arthur at gunn.co.nz
Sat Feb 12 14:01:55 PST 2011


> Ruby is extremely flexible.  I'm quite sure that some
> metaprogramming  could be used to prototype something
> for experimentation.

For the sake of experimentation then, here's some ruby code that does that:
    https://gist.github.com/824163

I don't think that implementing this in macruby would be a terrible
idea. It's not like the way in which the two styles are switched
between would be arbitrary, there would be two simple methods for
moving each way like String#camelize and String#underscore in rails.

One downside I can see is that it could make searching for method names harder.


-Arthur


More information about the MacRuby-devel mailing list