Module: Redistat::DateHelper

Included in:
Bignum, Date, Fixnum, Time
Defined in:
lib/redistat/mixins/date_helper.rb

Instance Method Summary collapse

Instance Method Details

#to_redistat(depth = nil) ⇒ Object Also known as: to_rs



3
4
5
# File 'lib/redistat/mixins/date_helper.rb', line 3

def to_redistat(depth = nil)
  Redistat::Date.new(self, depth)
end