Class: Numeric

Inherits:
Object show all
Defined in:
lib/other.rb

Instance Method Summary collapse

Instance Method Details

#to_aObject


128
129
130
# File 'lib/other.rb', line 128

def to_a
  [ self ]
end

#to_orObject


123
124
125
126
# File 'lib/other.rb', line 123

def to_or
# "#{self.to_s}"
self
end