diff options
| author | Jack Nagel | 2014-08-14 19:58:17 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-14 19:58:36 -0500 |
| commit | 181654ddafbc3989cd989d0b4edb5dc35a8d9bbc (patch) | |
| tree | 422101a254e9c2dda5b4047bd2ca76e832f612dc | |
| parent | 1dc384b4c4e94621b7ba1b62358e5730dfb8e8da (diff) | |
| download | brew-181654ddafbc3989cd989d0b4edb5dc35a8d9bbc.tar.bz2 | |
Remove two more unnecessary default arguments
| -rw-r--r-- | Library/Homebrew/keg_fix_install_names.rb | 2 | ||||
| -rw-r--r-- | 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 } |
