Sha256: 314f15ebbf3c1dfba132e5cc01e2b436991066bcb67bd18700252934acef344b

Contents?: true

Size: 154 Bytes

Versions: 12

Compression:

Stored size: 154 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

12 entries across 12 versions & 1 rubygems

Version Path
redistat-0.3.0 lib/redistat/mixins/date_helper.rb
redistat-0.2.6 lib/redistat/date_helper.rb
redistat-0.2.5 lib/redistat/date_helper.rb
redistat-0.2.4 lib/redistat/date_helper.rb
redistat-0.2.3 lib/redistat/date_helper.rb
redistat-0.2.2 lib/redistat/date_helper.rb
redistat-0.2.1 lib/redistat/date_helper.rb
redistat-0.2.0 lib/redistat/date_helper.rb
redistat-0.1.1 lib/redistat/date_helper.rb
redistat-0.1.0 lib/redistat/date_helper.rb
redistat-0.0.9 lib/redistat/date_helper.rb
redistat-0.0.8 lib/redistat/date_helper.rb