I have found that the use of camel case both reduces readability and reuse on some scenarios so far when working with RubyMotion
. While I understand how it is, on the outset, helpful coming from Cocoa over to keep this convention, it seems to me that it would be both more productive and wise to use underscore word separation as per standard Ruby convention. Is there a way to already do this or is there another way of attacking this issue?
ActiveSupport supports this conversion. I see something from BubbleWrap that has camelize
and underscore
methods, but obviously it's not really aimed at this particular use case.
It seems as though if this is not something that the RubyMotion folks will provide themselves, perhaps we could write a wrapper method so that there is a way to trigger a precompilation pass through to make this conversion?