Sha256: 0747c06f45169a180fe994812ba4193c465630d2fa1fe33009d43419eb015fb7

Contents?: true

Size: 153 Bytes

Versions: 7

Compression:

Stored size: 153 Bytes

Contents

class Time

  #
  def past?(other=nil)
    self < (other || ::Time.now)
  end

  #
  def future?(other=nil)
    self > (other || ::Time.now)
  end

end

Version data entries

7 entries across 6 versions & 1 rubygems

Version Path
facets-2.9.3 lib/core/facets/time/future.rb
facets-2.9.2 lib/core/facets/time/future.rb
facets-2.9.2 src/core/facets/time/future.rb
facets-2.9.1 lib/core/facets/time/future.rb
facets-2.9.0 lib/core/facets/time/future.rb
facets-2.9.0.pre.2 lib/core/facets/time/future.rb
facets-2.9.0.pre.1 lib/core/facets/time/future.rb