tab: add missing methods
This makes `Tab` compatible with `BuildOptions`.
This commit is contained in:
parent
c021f37525
commit
30bbb93f21
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user