Class: Fixnum
- Inherits:
-
Object
- Object
- Fixnum
- Defined in:
- lib/number_to/fixnum.rb
Instance Method Summary collapse
- #to_lower_alpha ⇒ Object
- #to_lower_roman ⇒ Object
- #to_ordinal ⇒ Object
- #to_upper_alpha ⇒ Object
- #to_upper_roman ⇒ Object
- #to_word_ordinal(options = {}) ⇒ Object
- #to_words(options = {}) ⇒ Object
Instance Method Details
#to_lower_alpha ⇒ Object
11 12 13 |
# File 'lib/number_to/fixnum.rb', line 11 def to_lower_alpha NumberTo.to_lower_alpha(self) end |
#to_lower_roman ⇒ Object
5 6 7 |
# File 'lib/number_to/fixnum.rb', line 5 def to_lower_roman NumberTo.to_lower_roman(self) end |
#to_ordinal ⇒ Object
14 15 16 |
# File 'lib/number_to/fixnum.rb', line 14 def to_ordinal NumberTo.to_ordinal(self) end |
#to_upper_alpha ⇒ Object
8 9 10 |
# File 'lib/number_to/fixnum.rb', line 8 def to_upper_alpha NumberTo.to_upper_alpha(self) end |
#to_upper_roman ⇒ Object
2 3 4 |
# File 'lib/number_to/fixnum.rb', line 2 def to_upper_roman NumberTo.to_upper_roman(self) end |
#to_word_ordinal(options = {}) ⇒ Object
20 21 22 |
# File 'lib/number_to/fixnum.rb', line 20 def to_word_ordinal( = {}) NumberTo.to_word_ordinal(self, ) end |
#to_words(options = {}) ⇒ Object
17 18 19 |
# File 'lib/number_to/fixnum.rb', line 17 def to_words( = {}) NumberTo.to_words(self, ) end |