Methods

Class/Module Index [+]

Quicksearch

DataMapper::NamingConventions::Field::UnderscoredAndPluralizedWithoutModule

Public Class Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.