Class: Fixnum

Inherits:
Object
  • Object
show all
Defined in:
lib/number_to/fixnum.rb

Instance Method Summary collapse

Instance Method Details

#to_lower_alphaObject



11
12
13
# File 'lib/number_to/fixnum.rb', line 11

def to_lower_alpha
  NumberTo.to_lower_alpha(self)
end

#to_lower_romanObject



5
6
7
# File 'lib/number_to/fixnum.rb', line 5

def to_lower_roman
  NumberTo.to_lower_roman(self)
end

#to_ordinalObject



14
15
16
# File 'lib/number_to/fixnum.rb', line 14

def to_ordinal
  NumberTo.to_ordinal(self)
end

#to_upper_alphaObject



8
9
10
# File 'lib/number_to/fixnum.rb', line 8

def to_upper_alpha
  NumberTo.to_upper_alpha(self)
end

#to_upper_romanObject



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(options = {})
  NumberTo.to_word_ordinal(self, options)
end

#to_words(options = {}) ⇒ Object



17
18
19
# File 'lib/number_to/fixnum.rb', line 17

def to_words(options = {})
  NumberTo.to_words(self, options)
end