From e647b16d1d57525f6eda80fac50c6f242f8fb101 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Wed, 13 Dec 2017 08:42:07 +0900 Subject: Should not define `Float` class in `mrblib/00class.rb`; ref #3828 Unless it is defined in `numeric.c`. --- mrblib/float.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrblib/float.rb b/mrblib/float.rb index 6343b9b85..2b86dc1e5 100644 --- a/mrblib/float.rb +++ b/mrblib/float.rb @@ -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") -- cgit v1.2.3