From f931291a053caacd7396cff1fbcc336e50b2cdb7 Mon Sep 17 00:00:00 2001 From: Marcus Stollsteimer Date: Mon, 25 Apr 2016 20:25:05 +0200 Subject: [PATCH] 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 4288237d..458d9eba 100644 --- a/lib/json/add/date.rb +++ b/lib/json/add/date.rb @@ -3,7 +3,6 @@ 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 5ea42ea6..a1009cf5 100644 --- a/lib/json/add/date_time.rb +++ b/lib/json/add/date_time.rb @@ -3,7 +3,6 @@ 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 e6ad257a..f4b150d2 100644 --- a/lib/json/add/exception.rb +++ b/lib/json/add/exception.rb @@ -2,7 +2,6 @@ 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 da81e107..a62f92f5 100644 --- a/lib/json/add/ostruct.rb +++ b/lib/json/add/ostruct.rb @@ -3,7 +3,6 @@ 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 e61e553c..0df382c6 100644 --- a/lib/json/add/range.rb +++ b/lib/json/add/range.rb @@ -2,7 +2,6 @@ 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 2fcbb6fb..9adf06c8 100644 --- a/lib/json/add/regexp.rb +++ b/lib/json/add/regexp.rb @@ -2,7 +2,6 @@ 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 6847cde9..e1e24800 100644 --- a/lib/json/add/struct.rb +++ b/lib/json/add/struct.rb @@ -2,7 +2,6 @@ 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 03dc9a56..6df77cab 100644 --- a/lib/json/add/symbol.rb +++ b/lib/json/add/symbol.rb @@ -2,7 +2,6 @@ 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 d9834677..12275082 100644 --- a/lib/json/add/time.rb +++ b/lib/json/add/time.rb @@ -2,7 +2,6 @@ require 'json' end -# Time serialization/deserialization class Time # Deserializes JSON string by converting time since epoch to Time