Sha256: 200a43d5a390816d27c178d457a1cf6aa19a38d1bd1932c32de1f53f013b60a9
Contents?: true
Size: 158 Bytes
Versions: 3
Compression:
Stored size: 158 Bytes
Contents
class Time def to_json_format self.getutc.strftime("%Y/%m/%d %H:%M:%S +0000") end def to_json(options = nil) %("#{to_json_format}") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
mattly-exegesis-0.2.1 | lib/monkeypatches/time.rb |
mattly-exegesis-0.2.2 | lib/monkeypatches/time.rb |
mattly-exegesis-0.2.3 | lib/monkeypatches/time.rb |