diff options
| author | Jack Nagel | 2012-07-10 20:55:28 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-18 11:12:09 -0500 |
| commit | 741a4168d0c5455ecc1574ae1ebe08df1ebfddd8 (patch) | |
| tree | 04fc7dca39a53f9ff1cc133efa1ba32ce59b9d25 /Library | |
| parent | e57122780ec3c7dea535ea743930db97c9239037 (diff) | |
| download | brew-741a4168d0c5455ecc1574ae1ebe08df1ebfddd8.tar.bz2 | |
SoftwareSpec: simplify conditional
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_support.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb index 023d225d9..5c957f422 100644 --- a/Library/Homebrew/formula_support.rb +++ b/Library/Homebrew/formula_support.rb @@ -45,9 +45,7 @@ class SoftwareSpec def url val=nil, specs=nil return @url if val.nil? @url = val - if specs.nil? - @using = nil - else + unless specs.nil? @using = specs.delete :using @specs = specs end |
