Sha256: 803d1f96427ea54d4a3896e2c96b7159c07c823fed195c07ae0a1e806a304d57
Contents?: true
Size: 284 Bytes
Versions: 1
Compression:
Stored size: 284 Bytes
Contents
module TimeCrisis class Date def to_json(options = nil) %("#{strftime("%Y-%m-%d")}") end end class DateTime def to_json(options = nil) xmlschema.inspect end end class Time def to_json(options = nil) xmlschema.inspect end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
time_crisis-0.3.5 | lib/time_crisis/to_json.rb |