From 181654ddafbc3989cd989d0b4edb5dc35a8d9bbc Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 14 Aug 2014 19:58:17 -0500 Subject: Remove two more unnecessary default arguments --- Library/Homebrew/keg_fix_install_names.rb | 2 +- Library/Homebrew/requirement.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/keg_fix_install_names.rb b/Library/Homebrew/keg_fix_install_names.rb index f94c1facc..37a020365 100644 --- a/Library/Homebrew/keg_fix_install_names.rb +++ b/Library/Homebrew/keg_fix_install_names.rb @@ -133,7 +133,7 @@ class Keg dylibs.each(&block) end - def dylib_id_for file, options={} + def dylib_id_for(file, options) # The new dylib ID should have the same basename as the old dylib ID, not # the basename of the file itself. basename = File.basename(file.dylib_id) diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb index 8c79f30c6..bc0c0b5a3 100644 --- a/Library/Homebrew/requirement.rb +++ b/Library/Homebrew/requirement.rb @@ -126,7 +126,7 @@ class Requirement end class Satisfier - def initialize(options={}, &block) + def initialize(options, &block) case options when Hash @options = { :build_env => true } -- cgit v1.2.3