Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/declension/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#inflect(grammar_case, options = {}) ⇒ Object



2
3
4
# File 'lib/declension/core_ext/string.rb', line 2

def inflect(grammar_case, options = {})
  Declension::Wrappers::String.new(self).inflect(grammar_case, options)
end