Skip to content

Commit

Permalink
Complex and Rational is embedded classes now
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Nov 10, 2020
1 parent b958e2a commit 17e7a81
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion ext/json/lib/json/add/complex.rb
Expand Up @@ -2,7 +2,6 @@
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
defined?(::Complex) or require 'complex'

class Complex

Expand Down
1 change: 0 additions & 1 deletion ext/json/lib/json/add/rational.rb
Expand Up @@ -2,7 +2,6 @@
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
defined?(::Rational) or require 'rational'

class Rational
# Deserializes JSON string by converting numerator value <tt>n</tt>,
Expand Down

0 comments on commit 17e7a81

Please sign in to comment.