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