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

[Feature #16254] Use __builtin.func style

This commit is contained in:
Nobuyoshi Nakada 2020-05-18 10:43:26 +09:00
parent c8703a17ce
commit d863f4bccd
Notes: git 2020-06-19 18:47:20 +09:00
9 changed files with 58 additions and 58 deletions

View file

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