Sha256: 9239df4e50643a08f6b3ce306cad142458e2bdb663c946b91a8372fc0715fb0f

Contents?: true

Size: 376 Bytes

Versions: 1

Compression:

Stored size: 376 Bytes

Contents

require "inflecto"

module Dry
  module Web
    module WebPipe
      module Generators
        module Inflections
          module_function

          def underscored_name(name)
            Inflecto.underscore(name)
          end

          def camel_cased_name(name)
            Inflecto.camelize(underscored_name(name))
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dry-web-web_pipe-0.1.0 lib/dry/web/web_pipe/generators/inflections.rb