diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-13 08:42:07 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-12-13 08:42:07 +0900 |
| commit | e647b16d1d57525f6eda80fac50c6f242f8fb101 (patch) | |
| tree | ef44783f2e77314f6b4b8068b0c05204bf8bbafa | |
| parent | ad0678110717e1dc87c23d1c9de6e8cd668a9ebb (diff) | |
| download | mruby-e647b16d1d57525f6eda80fac50c6f242f8fb101.tar.gz mruby-e647b16d1d57525f6eda80fac50c6f242f8fb101.zip | |
Should not define `Float` class in `mrblib/00class.rb`; ref #3828
Unless it is defined in `numeric.c`.
| -rw-r--r-- | mrblib/float.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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") |
