summaryrefslogtreecommitdiff
path: root/lib/pp.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-11-11 17:34:43 +0900
committernagachika <nagachika@ruby-lang.org>2021-11-22 10:51:35 +0900
commit989540c9ccf89e4e2d837a123858ab420e5c4b6c (patch)
tree46e3263cb3c98e9d750931fa84629ecd81764b2e /lib/pp.rb
parentf86b773b5c46a6f9e7df259913708671cedfd38e (diff)
Bump pp version to 0.2.1
Diffstat (limited to 'lib/pp.rb')
-rw-r--r--lib/pp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index ce282bee00..72480e5304 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -237,7 +237,7 @@ class PP < PrettyPrint
else
sep.call
end
- yield(*v, **{})
+ RUBY_VERSION >= "3.0" ? yield(*v, **{}) : yield(*v)
}
end