Module: DataMapper::NamingConventions::Resource::Yaml

Defined in:
lib/dm-core/naming_conventions.rb

Overview

module Underscored

Class Method Summary collapse

Class Method Details

.call(name) ⇒ Object



48
49
50
# File 'lib/dm-core/naming_conventions.rb', line 48

def self.call(name)
  Extlib::Inflection.pluralize(Extlib::Inflection.underscore(name)) + ".yaml"
end