Class: Time

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

Instance Method Summary collapse

Instance Method Details

#<=>(other) ⇒ Object



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

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

#rake_original_time_compareObject



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

alias rake_original_time_compare :<=>