class Integer

Public Instance Methods

<=>(other) click to toggle source
# File lib/robust_excel_ole/general.rb, line 179
def <=> other
  if other.is_a? Array
    self <=> other.first
  else
    old_spaceship other
  end
end
Also aliased as: old_spaceship
old_spaceship(other)
Alias for: <=>