search for: capitalize_each

Displaying 1 result from an estimated 1 matches for "capitalize_each".

2006 Aug 11
6
Newbie Question -- Override String functionality
Hello, I would like to add functionality to the String class....where do I do this? Do I create a new model (if so, what do I call it?) and put something like: class String def my_new_string_method blah blah end end Thanks for any pointers. -- Posted via http://www.ruby-forum.com/.