Sha256: 6f1cb8d29e8eded634fa517ae955c1c00629a36fbe365aeb990a7469483f0828
Contents?: true
Size: 389 Bytes
Versions: 2
Compression:
Stored size: 389 Bytes
Contents
require 'dry/web/roda/inflector' module Dry module Web module Roda 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dry-web-roda-0.14.0 | lib/dry/web/roda/generators/inflections.rb |
dry-web-roda-0.13.1 | lib/dry/web/roda/generators/inflections.rb |