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