diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-05-31 15:52:32 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-06-19 18:46:55 +0900 |
commit | 63aadc237f48be23803acae724401f8b4221fa38 (patch) | |
tree | 96ea77c66f42685bacacca4e69ac64139d93620d /kernel.rb | |
parent | 49f0fd21e468e567dc122547d516eef42c0ce0d3 (diff) |
[Feature #16254] Use `Primitive.func` style
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3165
Diffstat (limited to 'kernel.rb')
-rw-r--r-- | kernel.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -24,7 +24,7 @@ module Kernel # the class. # def clone(freeze: nil) - __builtin.rb_obj_clone2(freeze) + Primitive.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) + Primitive.rb_f_float(arg, exception) end end |