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