Sha256: 7a40f405ea1644e9e91758255992d0ddf47104b294696bf1316efbc42e09dfc0
Contents?: true
Size: 189 Bytes
Versions: 1
Compression:
Stored size: 189 Bytes
Contents
module TimeLord class Time attr_accessor :moment def initialize(moment) self.moment = moment end def period Period.new(moment, ::Time.now) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
time-lord-1.0.1 | lib/time-lord/time.rb |