diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 58eee94780..b31bfbdda3 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