aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/debrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/debrew')
-rw-r--r--Library/Homebrew/debrew/irb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/debrew/irb.rb b/Library/Homebrew/debrew/irb.rb
index f97403782..069dbe676 100644
--- a/Library/Homebrew/debrew/irb.rb
+++ b/Library/Homebrew/debrew/irb.rb
@@ -16,7 +16,7 @@ module IRB
workspace = WorkSpace.new(binding)
irb = Irb.new(workspace)
- @CONF[:IRB_RC].call(irb.context) if @CONF[:IRB_RC]
+ @CONF[:IRB_RC]&.call(irb.context)
@CONF[:MAIN_CONTEXT] = irb.context
trap("SIGINT") do