Module: Ardm::NamingConventions::Resource::UnderscoredAndPluralized

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

Class Method Summary collapse

Class Method Details

.call(name) ⇒ Object



30
31
32
# File 'lib/ardm/support/naming_conventions.rb', line 30

def self.call(name)
  Ardm::Inflector.pluralize(Ardm::Inflector.underscore(name)).gsub('/', '_')
end