lib/facet/string/camelize.rb in facets-0.7.2 vs lib/facet/string/camelize.rb in facets-0.9.0

- old
+ new

@@ -1,6 +2 @@ -class String - # Simple form of coverting a string to camel case. - def camelize #(lower_case_and_underscored_word) - self.to_s.gsub(/(^|_)(.)/){$2.upcase} - end -end +require 'nano/string/camelize.rb' \ No newline at end of file