Class: Myanmar
- Inherits:
-
NumeralBase
- Object
- NumeralBase
- Myanmar
- Includes:
- DecimalNumeral
- Defined in:
- lib/numerify/converters/myanmar.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/myanmar.rb', line 22 def convert(arabic_number_string) from_arabic(arabic_number_string, NUMERALS) end |