class String

Public Instance Methods

camelcase_notation() click to toggle source
# File lib/bizflow/monkey_patch.rb, line 5
def camelcase_notation
  return self if self !~ /_/ && self =~ /[A-Z]+.*/
  split('_').map{|e| e.capitalize}.join
end