Sha256: bf03c5be57b4270e5c8b806df5b6a9cfb2de9fd4b25e7508a45eea9a5bdea384

Contents?: true

Size: 94 Bytes

Versions: 2

Compression:

Stored size: 94 Bytes

Contents

class Date
  include Redistat::DateHelper

  def to_time
    Time.parse(self.to_s)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
redistat-0.5.0 lib/redistat/core_ext/date.rb
redistat-0.4.0 lib/redistat/core_ext/date.rb