Module: Ardm::NamingConventions::Field::Yaml

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

Overview

module Underscored

Class Method Summary collapse

Class Method Details

.call(property) ⇒ Object



82
83
84
# File 'lib/ardm/support/naming_conventions.rb', line 82

def self.call(property)
  "#{Ardm::Inflector.pluralize(Ardm::Inflector.underscore(property.name.to_s))}.yaml"
end