Class: Numeric

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

Instance Method Summary collapse

Instance Method Details

#to_aObject



173
174
175
# File 'lib/other.rb', line 173

def to_a
  [ self ]
end

#to_orObject



168
169
170
171
# File 'lib/other.rb', line 168

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