Skip to content

Repository files navigation

<img src=“https://secure.travis-ci.org/miks/declension.png?branch=master” />

Inflect string according to current I18n.locale.

  • Latvian [lv]

"Jānis Ozols".inflect(:genitive, as: :male)
=> "Jāņa Ozola"
"automašīna".inflect(:instrumental, as: :female)
=> "ar automašīnu"
"Roberts Egle".inflect(:dative, as: :male)
=> "Robertam Eglem"
"Jana Egle".inflect(:dative, as: :female)
=> "Janai Eglei"
  • 2.0.0 <= Ruby

geminstalldeclension

MIT License

See CHANGELOG.md for last changes.

Fork the project. Make your feature addition or bug fix with tests.

Send a pull request. Bonus points for topic branches.

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages