Sha256: 65621a187613586d9b1a9693c4722198aabf6a3e843cc325d38302fb6eb5b470
Contents?: true
Size: 323 Bytes
Versions: 9
Compression:
Stored size: 323 Bytes
Contents
class Time # @return <String> # ISO 8601 compatible rendering of the Time object's properties. # # @example # Time.now.to_json # => "\"2008-03-28T17:54:20-05:00\"" def to_json(*) self.xmlschema.to_json end def to_time self end def to_datetime DateTime.parse self.to_s end end
Version data entries
9 entries across 9 versions & 3 rubygems