Module: Ardm::NamingConventions::Resource::UnderscoredAndPluralizedWithoutModule

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

Overview

module UnderscoredAndPluralized

Class Method Summary collapse

Class Method Details

.call(name) ⇒ Object



36
37
38
# File 'lib/ardm/support/naming_conventions.rb', line 36

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