lib/tropo-webapi-ruby/tropo-webapi-ruby-helpers.rb
def camelize(ruby_string)
        split_string = ruby_string.split('_')
        return_string = split_string[0] + split_string[1].capitalize
        return_string = return_string + split_string[2].capitalize if split_string[2]
        return_string
      end
# Takes a Ruby underscore string and converts to a Java friendly camelized string
#
# @param [String] the string to be camelized
# @return [String] the Ruby string camelized
Takes a Ruby underscore string and converts to a Java friendly camelized string
Takes a Ruby underscore string and converts to a Java friendly camelized string
def camelize(ruby_string)
        split_string = ruby_string.split('_')
        return_string = split_string[0] + split_string[1].capitalize
        return_string = return_string + split_string[2].capitalize if split_string[2]
        return_string
      end
def camelize ( ruby_string ) split_string = ruby_string . split ( '_' ) return_string = split_string [ 0 ] + split_string [ 1 ] . capitalize return_string = return_string + split_string [ 2 ] . capitalize if split_string [ 2 ] return_string end
Takes a Ruby underscore string and converts to a Java friendly camelized string
Takes a Ruby underscore string and converts to a Java friendly camelized string
the Ruby string camelized
the Ruby string camelized
String
ruby_string
the string to be camelized
the string to be camelized