Sha256: 22d139916df625fe1bff1dfd9623fad2e13791bc9626b0b737c6584b9b21c2dc

Contents?: true

Size: 155 Bytes

Versions: 2

Compression:

Stored size: 155 Bytes

Contents

module Redistat
  module DateHelper
    def to_redistat(depth = nil)
      Redistat::Date.new(self, depth)
    end
    alias :to_rs :to_redistat
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redistat-0.5.0 lib/redistat/mixins/date_helper.rb
redistat-0.4.0 lib/redistat/mixins/date_helper.rb