Class: Integer
- Inherits:
-
Object
- Object
- Integer
- Defined in:
- lib/numerals_jp/extension/integer.rb
Overview
Extensions of Integer class
Instance Method Summary collapse
-
#to_jp ⇒ String
Converts positive integer which is less than 10^16 to Japanese numerals.
Instance Method Details
#to_jp ⇒ String
Converts positive integer which is less than 10^16 to Japanese numerals.
10 11 12 |
# File 'lib/numerals_jp/extension/integer.rb', line 10 def to_jp NumeralsJp::IntegerConverter.to_jp(self) end |