ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/opt/alt/ruby21/lib64/ruby/2.1.0/rake/ext/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/opt/alt/ruby21/lib64/ruby/2.1.0/rake/ext/time.rb

#--
# Extensions to time to allow comparisons with an early time class.

require 'rake/early_time'

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

Zerion Mini Shell 1.0