Class: Lao

Inherits:
NumeralBase show all
Includes:
DecimalNumeral
Defined in:
lib/numerify/converters/lao.rb

Overview

A class to convert to Thai numerals.

Constant Summary collapse

NUMERALS =
{
  0 => "",
  1 => "",
  2 => "",
  3 => "",
  4 => "",
  5 => "",
  6 => "",
  7 => "",
  8 => "",
  9 => ""
}.freeze

Instance Method Summary collapse

Instance Method Details

#convert(arabic_number_string) ⇒ Object



22
23
24
# File 'lib/numerify/converters/lao.rb', line 22

def convert(arabic_number_string)
  from_arabic(arabic_number_string, NUMERALS)
end