Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/rake/ext/time.rb

Overview

:nodoc: all

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



9
10
11
12
13
14
15
# File 'lib/rake/ext/time.rb', line 9

def <=>(other)
  if Rake::EarlyTime === other || Rake::LateTime === other
    - other.<=>(self)
  else
    rake_original_time_compare(other)
  end
end

#rake_original_time_compareObject



8
# File 'lib/rake/ext/time.rb', line 8

alias rake_original_time_compare :<=>