Sha256: 3d9423495dca99e7e2f08bcdc3098bd9da82d00daad824c29230919964139afd

Contents?: true

Size: 646 Bytes

Versions: 2

Compression:

Stored size: 646 Bytes

Contents

# frozen_string_literal: true

require_relative "string/camelize"
require_relative "string/demodulize"
require_relative "string/enclose"
require_relative "string/split"
require_relative "string/truncate"

module ConvenientService
  module Utils
    module String
      class << self
        def camelize(...)
          Camelize.call(...)
        end

        def demodulize(...)
          Demodulize.call(...)
        end

        def enclose(...)
          Enclose.call(...)
        end

        def split(...)
          Split.call(...)
        end

        def truncate(...)
          Truncate.call(...)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
convenient_service-0.19.1 lib/convenient_service/utils/string.rb
convenient_service-0.19.0 lib/convenient_service/utils/string.rb