Class: String

Public Visibility

Public Instance Method Summary

#camel_case

Public Instance Method Details

camel_case

public camel_case
[View source]


2
3
4
# File 'lib/octopi/base.rb', line 2

def camel_case
  self.gsub(/(^|_)(.)/) { $2.upcase }
end
Generated on Friday, July 31 2009 at 05:01:54 PM by YARD 0.2.3.2 (ruby-1.8.6).