Module: Concerns::Underscore

Included in:
ApiStruct::Extensions::ApiClient
Defined in:
lib/api_struct/concerns/underscore.rb

Instance Method Summary collapse

Instance Method Details

#underscore(camel_cased_word) ⇒ Object



3
4
5
# File 'lib/api_struct/concerns/underscore.rb', line 3

def underscore(camel_cased_word)
  Dry::Inflector.new.underscore(camel_cased_word)
end