From f931291a053caacd7396cff1fbcc336e50b2cdb7 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 25 Apr 2016 20:25:05 +0200 Subject: Remove comments from core classes in json/add --- lib/json/add/date.rb | 1 - lib/json/add/date_time.rb | 1 - lib/json/add/exception.rb | 1 - lib/json/add/ostruct.rb | 1 - lib/json/add/range.rb | 1 - lib/json/add/regexp.rb | 1 - lib/json/add/struct.rb | 1 - lib/json/add/symbol.rb | 1 - lib/json/add/time.rb | 1 - 9 files changed, 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 y, 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 y, month m, 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 -- cgit v1.2.1