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



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

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

#rake_original_time_compareObject



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

alias rake_original_time_compare :<=>