Module: Ardm::NamingConventions::Field::UnderscoredAndPluralized
- Defined in:
- lib/ardm/support/naming_conventions.rb
Class Method Summary collapse
Class Method Details
.call(property) ⇒ Object
64 65 66 |
# File 'lib/ardm/support/naming_conventions.rb', line 64 def self.call(property) Ardm::Inflector.pluralize(Ardm::Inflector.underscore(property.name.to_s)).gsub('/', '_') end |