aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dependable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/dependable.rb')
-rw-r--r--Library/Homebrew/dependable.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Homebrew/dependable.rb b/Library/Homebrew/dependable.rb
index 4a3d2de88..4060973c4 100644
--- a/Library/Homebrew/dependable.rb
+++ b/Library/Homebrew/dependable.rb
@@ -20,10 +20,16 @@ module Dependable
end
def required?
+ # FIXME: Should `required?` really imply `!build?`? And if so, why doesn't
+ # any of `optional?` and `recommended?` equally imply `!build?`?
!build? && !optional? && !recommended?
end
+ def option_tags
+ tags - RESERVED_TAGS
+ end
+
def options
- Options.create(tags - RESERVED_TAGS)
+ Options.create(option_tags)
end
end