Module: DataMapper::NamingConventions::Resource::UnderscoredAndPluralizedWithoutLeadingModule
- Defined in:
- lib/dm-core/support/naming_conventions.rb
Overview
module UnderscoredAndPluralizedWithoutModule
Class Method Summary collapse
Class Method Details
.call(name) ⇒ Object
42 43 44 |
# File 'lib/dm-core/support/naming_conventions.rb', line 42 def self.call(name) UnderscoredAndPluralized.call(name.to_s.gsub(/^[^:]*::/,'')) end |