Sha256: 90cc2cad27f899649e262cb7d427774e95cdf0a36bc2fb4c53518273fd1ad42d
Contents?: true
Size: 168 Bytes
Versions: 2
Compression:
Stored size: 168 Bytes
Contents
module Thanos class Date attr_reader :type, :date def initialize(data) @type = data['type'] @date = ::Date.parse(data['date']) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thanos-0.6.0 | lib/thanos/resources/date.rb |
thanos-0.5.0 | lib/thanos/resources/date.rb |