Class: Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/robust_excel_ole/general.rb

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



180
181
182
183
184
185
186
# File 'lib/robust_excel_ole/general.rb', line 180

def <=> other
  if other.is_a? Array
    self <=> other.first
  else
    old_spaceship other
  end
end