Module: Ardm::NamingConventions::Field::UnderscoredAndPluralizedWithoutModule

Defined in:
lib/ardm/support/naming_conventions.rb

Overview

module UnderscoredAndPluralized

Class Method Summary collapse

Class Method Details

.call(property) ⇒ Object



70
71
72
# File 'lib/ardm/support/naming_conventions.rb', line 70

def self.call(property)
  Ardm::Inflector.pluralize(Ardm::Inflector.underscore(Ardm::Inflector.demodulize(property.name.to_s)))
end