Should not define Float class in mrblib/00class.rb; ref #3828

Unless it is defined in `numeric.c`.
This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-12-13 08:42:07 +09:00
parent ad06781107
commit e647b16d1d
+1 -1
View File
@@ -6,4 +6,4 @@ class Float
# mruby special - since mruby integers may be upgraded to floats,
# floats should be compatible to integers.
include Integral
end
end if class_defined?("Float")