Sha256: f10c6c4fc9d5fedf4b2840e7301cfb6f0376a5cc6e148a9f2cd7a223395d03fe
Contents?: true
Size: 320 Bytes
Versions: 1
Compression:
Stored size: 320 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
extlib-0.9.6 | lib/extlib/time.rb |