_why wrote:
On Thu, Sep 25, 2008 at 03:59:21PM -0400, Seth Thomas Rasmussen wrote:
I think it would be nicer if the generated method names had
underscores to mark the separation of words. e.g. SuperMegaWidget
becomes super_mega_widget.

Okay, fair enough.  Since Ruby has always had underscore names, this
makes good sense.  And EditBox is edit_box, EditLine is edit_line
and so on.  I think Rails does this, too.

_why

Yeah, its in ActiveSupport (and in facets, iirc) like so:
  > "foo_bar".classify
  => "FooBar"

I was just looking for the method missing magic to post a small patch as a demonstration of this. (Apparently, I'm looking in the wrong spot.)
--
Jeff

Reply via email to