Sha256: 69c1665052bb982c13ae780c92e6a91de1a68237a3d7a4e6f69da3854b9fd22f

Contents?: true

Size: 249 Bytes

Versions: 1

Compression:

Stored size: 249 Bytes

Contents

class Time
  
  # ==== Returns
  # String::
  #   ISO 8601 compatible rendering of the Time object's properties.
  # 
  # ==== Examples
  #   Time.now.to_json # => "\"2008-03-28T17:54:20-05:00\""
  def to_json
    self.xmlschema.to_json
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
merb-core-0.9.3 lib/merb-core/core_ext/time.rb