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-14.5.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-14.4.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-14.3.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-14.2.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-14.1.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-14.0.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-13.2.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-13.1.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-13.0.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-12.0.0 lib/hubspot/helpers/camel_case.rb
hubspot-api-client-11.2.0 lib/hubspot/helpers/camel_case.rb