Skip to content

Commit

Permalink
Merge pull request #283 from stomar/remove-comments
Browse files Browse the repository at this point in the history
Remove comments from core classes in json/add
  • Loading branch information
flori committed Jun 7, 2016
2 parents 98aa312 + f931291 commit 6327cbb
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion lib/json/add/date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
end
require 'date'

# Date serialization/deserialization
class Date

# Deserializes JSON string by converting Julian year <tt>y</tt>, month
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/date_time.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
end
require 'date'

# DateTime serialization/deserialization
class DateTime

# Deserializes JSON string by converting year <tt>y</tt>, month <tt>m</tt>,
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/exception.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Exception serialization/deserialization
class Exception

# Deserializes JSON string by constructing new Exception object with message
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/ostruct.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
end
require 'ostruct'

# OpenStruct serialization/deserialization
class OpenStruct

# Deserializes JSON string by constructing new Struct object with values
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/range.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Range serialization/deserialization
class Range

# Deserializes JSON string by constructing new Range object with arguments
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/regexp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Regexp serialization/deserialization
class Regexp

# Deserializes JSON string by constructing new Regexp object with source
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/struct.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Struct serialization/deserialization
class Struct

# Deserializes JSON string by constructing new Struct object with values
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/symbol.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion lib/json/add/time.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
require 'json'
end

# Time serialization/deserialization
class Time

# Deserializes JSON string by converting time since epoch to Time
Expand Down

0 comments on commit 6327cbb

Please sign in to comment.