From 097d5242c3c2b0a60694fa090f435d1a15e24e67 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 14 Mar 2015 01:51:04 -0400 Subject: [PATCH] Simplify skip_executables option --- Library/Homebrew/keg_fix_install_names.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb index 6ab8b15f66..c0229497ef 100644 --- a/Library/Homebrew/keg_fix_install_names.rb +++ b/Library/Homebrew/keg_fix_install_names.rb @@ -73,8 +73,7 @@ class Keg # Note that this doesn't attempt to distinguish between libstdc++ versions, # for instance between Apple libstdc++ and GNU libstdc++ def detect_cxx_stdlibs(options={}) - options = { :skip_executables => false }.merge(options) - skip_executables = options[:skip_executables] + skip_executables = options.fetch(:skip_executables, false) results = Set.new mach_o_files.each do |file|