Class: Numeric

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

Instance Method Summary collapse

Instance Method Details

#to_aObject



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

def to_a
  [ self ]
end

#to_orObject



117
118
119
120
# File 'lib/other.rb', line 117

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