aboutsummaryrefslogtreecommitdiffstats
path: root/kernel.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-05-18 10:43:26 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-19 18:46:55 +0900
commitd863f4bccdd1b5566fbdbe87af766e54b995f8af (patch)
tree23f94a6dd5296847446a240615e2bc393457bf1d /kernel.rb
parentc8703a17ceedae4a72f83c962a4d098731a85dda (diff)
downloadruby-d863f4bccdd1b5566fbdbe87af766e54b995f8af.tar.gz
[Feature #16254] Use `__builtin.func` style
Diffstat (limited to 'kernel.rb')
-rw-r--r--kernel.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel.rb b/kernel.rb
index aa3f8b72a4..e4bee9b8a8 100644
--- a/kernel.rb
+++ b/kernel.rb
@@ -24,7 +24,7 @@ module Kernel
# the class.
#
def clone(freeze: nil)
- __builtin_rb_obj_clone2(freeze)
+ __builtin.rb_obj_clone2(freeze)
end
module_function
@@ -48,6 +48,6 @@ module Kernel
# Float("123.0_badstring", exception: false) #=> nil
#
def Float(arg, exception: true)
- __builtin_rb_f_float(arg, exception)
+ __builtin.rb_f_float(arg, exception)
end
end