aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_support.rb
diff options
context:
space:
mode:
authorMarkus Reiter2017-07-01 05:32:19 +0200
committerGitHub2017-07-01 05:32:19 +0200
commitfd5e673d2d367eff03f1411d909ca0bbb2003a2c (patch)
treef908de0884ea7048aa79caedc726ef8a8cc12818 /Library/Homebrew/formula_support.rb
parent0a5052141d59ece4adb3c9dbd62096c7a2ed7282 (diff)
parent6a1fa87191bfef31ff1b2d47d3ebf281398a210f (diff)
downloadbrew-fd5e673d2d367eff03f1411d909ca0bbb2003a2c.tar.bz2
Merge pull request #2825 from reitermarkus/refactoring
Refactoring using `Forwardable` and `DelegateClass`.
Diffstat (limited to 'Library/Homebrew/formula_support.rb')
-rw-r--r--Library/Homebrew/formula_support.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_support.rb b/Library/Homebrew/formula_support.rb
index 4d963a55e..a4534291a 100644
--- a/Library/Homebrew/formula_support.rb
+++ b/Library/Homebrew/formula_support.rb
@@ -81,7 +81,7 @@ class BottleDisableReason
end
def to_s
- if @type == :unneeded
+ if unneeded?
"This formula doesn't require compiling."
else
@reason