Sha256: da3b47997c879c7ab8aed6e8bc418732d92966f74eccb10d04209558cc5352b6

Contents?: true

Size: 266 Bytes

Versions: 83

Compression:

Stored size: 266 Bytes

Contents

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

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

Version data entries

83 entries across 69 versions & 20 rubygems

Version Path
challah-0.5.3 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.5.2 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.5.1 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.5.0 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.4.1 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.4.0 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.3.5 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.3.4 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.3.3 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.3.2 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.3.1 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.3.0 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.2.1 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
challah-0.2.0 vendor/bundle/gems/rake-0.9.2.2/lib/rake/ext/time.rb
chida_fib-0.1.0 shoulda/ruby/1.8/gems/rake-0.9.2.2/lib/rake/ext/time.rb
domo-0.0.5 vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/time.rb
horseman-0.0.4 vendor/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/time.rb
horseman-0.0.3 vendor/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/time.rb
horseman-0.0.2 vendor/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/ext/time.rb