aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/tab.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb
index 58eee9478..b31bfbdda 100644
--- a/Library/Homebrew/tab.rb
+++ b/Library/Homebrew/tab.rb
@@ -179,6 +179,18 @@ class Tab < OpenStruct
include?("32-bit")
end
+ def head?
+ spec == :head
+ end
+
+ def devel?
+ spec == :devel
+ end
+
+ def stable?
+ spec == :stable
+ end
+
def used_options
Options.create(super)
end