diff options
| author | Jack Nagel | 2014-08-14 19:58:17 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-08-14 19:58:36 -0500 | 
| commit | 9d96eadb39d83db5fa2c0fd5680ef000600b2b23 (patch) | |
| tree | f08d505ea2de51d6d7b93164e0142b80b1f188b9 /Library/Homebrew | |
| parent | 2a22dc700215de23123ec4ed4e68e6c06c32314d (diff) | |
| download | homebrew-9d96eadb39d83db5fa2c0fd5680ef000600b2b23.tar.bz2 | |
Remove two more unnecessary default arguments
Diffstat (limited to 'Library/Homebrew')
| -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 }  | 
