Class: Bignum

Inherits:
Object
  • Object
show all
Includes:
Redistat::DateHelper
Defined in:
lib/redistat/core_ext/bignum.rb

Instance Method Summary collapse

Methods included from Redistat::DateHelper

#to_redistat

Instance Method Details

#to_timeObject



4
5
6
# File 'lib/redistat/core_ext/bignum.rb', line 4

def to_time
  Time.at(self)
end