Sha256: 3af8ca186dcdeca44a38296beae4f932fa86047e6b88bb558f2132afadf5555e
Contents?: true
Size: 396 Bytes
Versions: 1
Compression:
Stored size: 396 Bytes
Contents
require 'dry/web/web_pipe/inflector' module Dry module Web module WebPipe module Generators module Inflections module_function def underscored_name(name) Inflector.underscore(name) end def camel_cased_name(name) Inflector.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.2.0 | lib/dry/web/web_pipe/generators/inflections.rb |