A library for correct appearance Greek names as appropriate
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
CODE_OF_CONDUCT.md
Gemfile
LICENSE.txt
README.md
Rakefile
greek_names.gemspec

README.md

GreekNames

Gem Version

A library for correct appearance Greek names as appropriate.

Installation

Add this line to your application's Gemfile:

gem 'greek_names'

And then execute:

$ bundle

Or install it yourself as:

$ gem install greek_names

Usage

vocative(string)

GreekNames.vocative("Αλέξανδρος") # => "Αλέξανδρε"
GreekNames.vocative("Γιώργος") # => "Γιώργο"
GreekNames.vocative("Αντώνης") # => "Αντώνη"
GreekNames.vocative("Δήμητρα") # => "Δήμητρα"
GreekNames.vocative("Παππαδόπουλος") # => "Παππαδόπουλε"