<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
gem install declension
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.
-
Miks Miķelsons (http://github.com/miks)