Merge pull request #2183 from vladshablinsky/questions_mean_bool

ARGV.include? should return boolean
This commit is contained in:
Uladzislau Shablinski 2017-02-28 02:55:40 +03:00 committed by GitHub
commit 84fbcdc913

View File

@ -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