ARGV.include? should return boolean

This commit is contained in:
Uladzislau Shablinski 2017-02-25 19:15:08 +03:00
parent 93724c0645
commit be8a0b3299

View File

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