Module: PersianNumbers

Defined in:
lib/persian_numbers.rb,
lib/persian_numbers/version.rb

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.translate_to_words(number) ⇒ Object



8
9
10
# File 'lib/persian_numbers.rb', line 8

def translate_to_words(number)
  Conversion.new(number: number).translate_to_words
end