diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-04-26 18:28:54 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-04-26 18:28:57 +0900 |
commit | 52cfb17086998b9434c9c786bfcf827197216c9a (patch) | |
tree | a94e98569e51a9b4cccc8b6ba481b3f7080061ab /lib/irb/cmd/fork.rb | |
parent | a6805771ec202a8b8586d6624b05342029cace0d (diff) |
make sync-default-gems GEM=irb
from https://github.com/ruby/irb/commit/e6739d8c66dc78562930adb0b96935c9b38acf74
Diffstat (limited to 'lib/irb/cmd/fork.rb')
-rw-r--r-- | lib/irb/cmd/fork.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irb/cmd/fork.rb b/lib/irb/cmd/fork.rb index 31d53dcaba..ae4d51b5d1 100644 --- a/lib/irb/cmd/fork.rb +++ b/lib/irb/cmd/fork.rb @@ -21,7 +21,7 @@ module IRB class << self alias_method :exit, ExtendCommand.irb_original_method_name('exit') end - if block_given? + if iterator? begin yield ensure |