Sha256: 9b36c36f3e2fbe81942d40ce344b7c70f70e3ccf927735385947b867eb1a3722

Contents?: true

Size: 158 Bytes

Versions: 31

Compression:

Stored size: 158 Bytes

Contents

module Hubspot
  module Helpers
    class CamelCase
      def format(string)
        string.split('_').collect(&:capitalize).join
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
hubspot-api-client-17.0.0.pre.beta.4 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-17.0.0.pre.beta.3 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-17.0.0.pre.beta.2 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-17.0.0.pre.beta.1 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.4.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.3.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.2.1 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.2.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.1.1 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.1.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.0.4 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.0.3 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.0.2 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.0.1 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-16.0.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-15.0.2 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-15.0.1 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-15.0.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-14.5.2 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-14.5.1 lib/hubspot/helpers/camel_case.rb