module DataMapper::NamingConventions::Field::Yaml

Public Class Methods

call(property) click to toggle source
# File lib/dm-core/support/naming_conventions.rb, line 82
def self.call(property)
  "#{DataMapper::Inflector.pluralize(DataMapper::Inflector.underscore(property.name.to_s))}.yaml"
end