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")
|
include?("32-bit")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def head?
|
||||||
|
spec == :head
|
||||||
|
end
|
||||||
|
|
||||||
|
def devel?
|
||||||
|
spec == :devel
|
||||||
|
end
|
||||||
|
|
||||||
|
def stable?
|
||||||
|
spec == :stable
|
||||||
|
end
|
||||||
|
|
||||||
def used_options
|
def used_options
|
||||||
Options.create(super)
|
Options.create(super)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user