1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Complex and Rational is embedded classes now

This commit is contained in:
Hiroshi SHIBATA 2020-11-10 12:14:14 +09:00
parent b958e2add8
commit 17e7a819f7
Notes: git 2020-11-10 13:15:08 +09:00
2 changed files with 0 additions and 2 deletions

View file

@ -2,7 +2,6 @@
unless defined?(::JSON::JSON_LOADED) and ::JSON::JSON_LOADED
require 'json'
end
defined?(::Complex) or require 'complex'
class Complex

View file

@ -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>,