summaryrefslogtreecommitdiff
path: root/kernel.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2020-07-03 18:02:43 -0700
committer<[email protected]>2020-07-03 18:02:43 -0700
commit24fa37d87a24dc932c1d778bcaf91204f5c12a76 ()
tree19c661338ecc6b8d5974b80a1ef77a738931cade /kernel.rb
parenta69dd699ee630dd1086627dbca15a218a8538b6f (diff)
Make Kernel#then, #yield_self, #frozen? builtin (#3283)
* Make Kernel#then, #yield_self, #frozen? builtin * Fix test_jit
Notes: Merged-By: k0kubun <[email protected]>
-rw-r--r--kernel.rb78
1 files changed, 78 insertions, 0 deletions
@@ -50,6 +50,27 @@ module Kernel
#
# call-seq:
# obj.tap {|x| block } -> obj
#
# Yields self to the block, and then returns self.
@@ -70,6 +91,63 @@ module Kernel
self
end
module_function
#