summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2016-06-07 17:29:10 +0200
committerFlorian Frank <flori@ping.de>2016-06-07 17:29:10 +0200
commit6327cbb815226cbdfe24b7ed41e015c6c1f2ac20 (patch)
treec1ac460a0de80f08d1a98b12ae696eb4a4032960
parent98aa312dc9aa9b7dd66cf282d6eaf22eb94360fd (diff)
parentf931291a053caacd7396cff1fbcc336e50b2cdb7 (diff)
downloadjson-6327cbb815226cbdfe24b7ed41e015c6c1f2ac20.tar.gz
Merge pull request #283 from stomar/remove-comments
Remove comments from core classes in json/add
-rw-r--r--lib/json/add/date.rb1
-rw-r--r--lib/json/add/date_time.rb1
-rw-r--r--lib/json/add/exception.rb1
-rw-r--r--lib/json/add/ostruct.rb1
-rw-r--r--lib/json/add/range.rb1
-rw-r--r--lib/json/add/regexp.rb1
-rw-r--r--lib/json/add/struct.rb1
-rw-r--r--lib/json/add/symbol.rb1
-rw-r--r--lib/json/add/time.rb1
9 files changed, 0 insertions, 9 deletions
diff --git a/lib/json/add/date.rb b/lib/json/add/date.rb
index 4288237..458d9eb 100644
--- a/lib/json/add/date.rb
+++ b/lib/json/add/date.rb
@@ -3,7 +3,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
end
require 'date'
-# Date serialization/deserialization
class Date
# Deserializes JSON string by converting Julian year <tt>y</tt>, month
diff --git a/lib/json/add/date_time.rb b/lib/json/add/date_time.rb
index 5ea42ea..a1009cf 100644
--- a/lib/json/add/date_time.rb
+++ b/lib/json/add/date_time.rb
@@ -3,7 +3,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
end
require 'date'
-# DateTime serialization/deserialization
class DateTime
# Deserializes JSON string by converting year <tt>y</tt>, month <tt>m</tt>,
diff --git a/lib/json/add/exception.rb b/lib/json/add/exception.rb
index e6ad257..f4b150d 100644
--- a/lib/json/add/exception.rb
+++ b/lib/json/add/exception.rb
@@ -2,7 +2,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
-# Exception serialization/deserialization
class Exception
# Deserializes JSON string by constructing new Exception object with message
diff --git a/lib/json/add/ostruct.rb b/lib/json/add/ostruct.rb
index da81e10..a62f92f 100644
--- a/lib/json/add/ostruct.rb
+++ b/lib/json/add/ostruct.rb
@@ -3,7 +3,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
end
require 'ostruct'
-# OpenStruct serialization/deserialization
class OpenStruct
# Deserializes JSON string by constructing new Struct object with values
diff --git a/lib/json/add/range.rb b/lib/json/add/range.rb
index e61e553..0df382c 100644
--- a/lib/json/add/range.rb
+++ b/lib/json/add/range.rb
@@ -2,7 +2,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
-# Range serialization/deserialization
class Range
# Deserializes JSON string by constructing new Range object with arguments
diff --git a/lib/json/add/regexp.rb b/lib/json/add/regexp.rb
index 2fcbb6f..9adf06c 100644
--- a/lib/json/add/regexp.rb
+++ b/lib/json/add/regexp.rb
@@ -2,7 +2,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
-# Regexp serialization/deserialization
class Regexp
# Deserializes JSON string by constructing new Regexp object with source
diff --git a/lib/json/add/struct.rb b/lib/json/add/struct.rb
index 6847cde..e1e2480 100644
--- a/lib/json/add/struct.rb
+++ b/lib/json/add/struct.rb
@@ -2,7 +2,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
-# Struct serialization/deserialization
class Struct
# Deserializes JSON string by constructing new Struct object with values
diff --git a/lib/json/add/symbol.rb b/lib/json/add/symbol.rb
index 03dc9a5..6df77ca 100644
--- a/lib/json/add/symbol.rb
+++ b/lib/json/add/symbol.rb
@@ -2,7 +2,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
-# Symbol serialization/deserialization
class Symbol
# Returns a hash, that will be turned into a JSON object and represent this
# object.
diff --git a/lib/json/add/time.rb b/lib/json/add/time.rb
index d983467..1227508 100644
--- a/lib/json/add/time.rb
+++ b/lib/json/add/time.rb
@@ -2,7 +2,6 @@ unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
-# Time serialization/deserialization
class Time
# Deserializes JSON string by converting time since epoch to Time