12 Feb
2011
12 Feb
'11
10:01 p.m.
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