Module: DataMapper::NamingConventions::Resource::Yaml
- Defined in:
- lib/dm-core/support/naming_conventions.rb
Overview
module Underscored
Class Method Summary collapse
Class Method Details
.call(name) ⇒ Object
54 55 56 |
# File 'lib/dm-core/support/naming_conventions.rb', line 54 def self.call(name) "#{DataMapper::Inflector.pluralize(DataMapper::Inflector.underscore(name))}.yaml" end |