Sha256: 24aaf0a2c96d3d5b5ae3189ae8b902bf1aa583cd7d2073be66e65d7e3ecf9397

Contents?: true

Size: 652 Bytes

Versions: 13

Compression:

Stored size: 652 Bytes

Contents

# ===========================================================================
# Project:   Abbot - SproutCore Build Tools
# Copyright: ©2009 Apple, Inc.
#            portions copyright @2006-2009 Sprout Systems, Inc.
#            and contributors
# ===========================================================================

require 'singleton'

module SC
  
  # EarlyTime is a fake timestamp that occurs _before_ any other time value.
  # Borrowed from Rake 0.8.3
  class EarlyTime
    include Comparable
    include Singleton

    def <=>(other)
      -1
    end

    def to_s
      "<EARLY TIME>"
    end
  end

  EARLY = EarlyTime.instance

end  

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sproutit-sproutcore-1.0.0.20090407205609 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.0.20090408130025 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.0.20090416161445 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.0.20090720093355 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.0.20090720202429 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.0.20090721125122 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.126 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.20090721145236 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.20090721145251 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.20090721145280 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.20090721145281 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.20090721145282 lib/sproutcore/buildfile/early_time.rb
sproutit-sproutcore-1.0.203 lib/sproutcore/buildfile/early_time.rb