aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/requirement.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/requirement.rb b/Library/Homebrew/requirement.rb
index fd726be20..7a40d419e 100644
--- a/Library/Homebrew/requirement.rb
+++ b/Library/Homebrew/requirement.rb
@@ -31,7 +31,8 @@ class Requirement
# The message to show when the requirement is not met.
def message
- s = ""
+ _, _, class_name = self.class.to_s.rpartition "::"
+ s = "#{class_name} unsatisfied!\n"
if cask
s += <<-EOS.undent