Module: DataMapper::NamingConventions::Resource::Yaml
- Defined in:
- lib/gems/dm-core-0.9.9/lib/dm-core/naming_conventions.rb
Overview
module Underscored
Class Method Summary collapse
Class Method Details
.call(name) ⇒ Object
48 49 50 |
# File 'lib/gems/dm-core-0.9.9/lib/dm-core/naming_conventions.rb', line 48 def self.call(name) Extlib::Inflection.pluralize(Extlib::Inflection.underscore(name)) + ".yaml" end |