diff options
| author | Jack Nagel | 2013-10-22 13:07:09 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2013-10-22 13:31:14 -0500 | 
| commit | 13c2681d55a89cd01a72b722d009c5b809d9df5f (patch) | |
| tree | c45ed5a2912abea5c09994786a460f4b36af5715 /Library/Homebrew/formula.rb | |
| parent | fcf616c380d749d6fc40212626c6d9abfa46ce49 (diff) | |
| download | homebrew-13c2681d55a89cd01a72b722d009c5b809d9df5f.tar.bz2 | |
Remove "double negative" condition
Diffstat (limited to 'Library/Homebrew/formula.rb')
| -rw-r--r-- | Library/Homebrew/formula.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 59f815553..b94ec7c3e 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -56,7 +56,7 @@ class Formula    def set_spec(name)      spec = self.class.send(name) -    if block_given? && yield(spec) || !spec.url.nil? +    if block_given? && yield(spec) || spec.url        spec.owner = self        instance_variable_set("@#{name}", spec)      end  | 
