ARGV.include? should return boolean
This commit is contained in:
parent
93724c0645
commit
be8a0b3299
@ -131,9 +131,8 @@ module HomebrewArgvExtension
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# self documenting perhaps?
|
|
||||||
def include?(arg)
|
def include?(arg)
|
||||||
@n=index arg
|
!(@n = index(arg)).nil?
|
||||||
end
|
end
|
||||||
|
|
||||||
def next
|
def next
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user