Sha256: 27fce0f136db0d545e48f85e0208accb3a794804a368dfe07c21bd69116764ea

Contents?: true

Size: 322 Bytes

Versions: 28

Compression:

Stored size: 322 Bytes

Contents

# This class was extracted from the cassandra gem by Evan Weaver
# As such, it is distributed under the terms of the apache license.
# See the APACHE-LICENSE file in the root of this project for more information.
#
class Time
  def self.stamp
    Time.now.stamp
  end
  
  def stamp
    to_i * 1_000_000 + usec
  end
end

Version data entries

28 entries across 28 versions & 7 rubygems

Version Path
ihoka-friendly-0.8.0.pre lib/friendly/time.rb
ihoka-friendly-0.7.1.2 lib/friendly/time.rb
ihoka-friendly-0.7.1.1 lib/friendly/time.rb
ihoka-friendly-0.7.1 lib/friendly/time.rb
ihoka-friendly-0.7.0 lib/friendly/time.rb
ihoka-friendly-0.6.3 lib/friendly/time.rb
ihoka-friendly-0.6.2 lib/friendly/time.rb
friendly-0.6.0 lib/friendly/time.rb
honkster-friendly-0.5.3 lib/friendly/time.rb
honkster-friendly-0.5.2 lib/friendly/time.rb
honkster-friendly-0.5.1 lib/friendly/time.rb
wayne-friendly-0.5.1 lib/friendly/time.rb
wego-friendly-0.5.1 lib/friendly/time.rb
arunthampi-friendly-0.5.1 lib/friendly/time.rb
friendly_postgres-0.5.1 lib/friendly/time.rb
friendly-0.5.1 lib/friendly/time.rb
friendly-0.5.0 lib/friendly/time.rb
friendly_postgres-0.4.5 lib/friendly/time.rb
friendly-0.4.5 lib/friendly/time.rb
friendly-0.4.4 lib/friendly/time.rb