class String

Public Instance Methods

snake_to_camel() click to toggle source
# File lib/exact_target_rest/support/string_extension.rb, line 2
def snake_to_camel
  self.gsub(/(?:_|^)([[:word:]])/) { $1.upcase }
end