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