mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/pp] Support < Ruby 3.0
https://github.com/ruby/pp/commit/3ee131ae92
This commit is contained in:
parent
2229fc8b57
commit
17441a6b1b
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ class PP < PrettyPrint
|
|||
else
|
||||
sep.call
|
||||
end
|
||||
yield(*v, **{})
|
||||
RUBY_VERSION >= "3.0" ? yield(*v, **{}) : yield(*v)
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue