Allow conversion of Dependencies to Array
This is needed for the intersection code in `brew deps` to work right, but can hopefully be refactored away somehow eventually.
This commit is contained in:
parent
c670339c02
commit
dfa387700d
@ -108,6 +108,10 @@ class Dependencies
|
|||||||
def *(arg)
|
def *(arg)
|
||||||
@deps * arg
|
@deps * arg
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def to_ary
|
||||||
|
@deps
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
module Dependable
|
module Dependable
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user