Merge pull request #2183 from vladshablinsky/questions_mean_bool
ARGV.include? should return boolean
This commit is contained in:
commit
84fbcdc913
@ -133,9 +133,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