module Iuliia::YandexMoney

Overview

The YandexMoney module provides transliteration (Engine.translate) using the Yandex.Money transliteration schema.

More information (in Russian)

Examples

Iuliia::YandexMoney.translate("Юлия, съешь ещё этих мягких французских булок из Йошкар-Олы, да выпей алтайского чаю")
# => "Yuliya, sesh esche etikh myagkikh frantsuzskikh bulok iz Ioshkar-Oly, da vypei altaiskogo chayu"

Iuliia::YandexMoney.translate("Юлия Щеглова")
# => "Yuliya Scheglova"

Iuliia::YandexMoney.translate("Иван Брызгальский")
# => "Ivan Bryzgalskii"

Iuliia::YandexMoney.translate("Ксения Стрый")
# => "Kseniya Stryi"

Included Modules

Extended Modules

Defined in:

iuliia/schemas/yandex_money.cr

Instance Method Summary

Instance methods inherited from module Iuliia::Engine

description : String description, name : String name, translate(string : String) : String translate

Instance Method Detail

def description : String #

Returns the transliteration schema description.


[View source]
def name : String #

Returns the transliteration schema name.


[View source]