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



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

def self.call(name)
  "#{DataMapper::Inflector.pluralize(DataMapper::Inflector.underscore(name))}.yaml"
end