M
Matthew Margolis
blockFile = File.new("blocklist.txt", "a+")
print blockFile.read.include?("aa")
print blockFile.read.include?("aa")
blocklist.txt looks like
--------------------------------------------
aa
ae
aj
au
ae
---------------------------------------------
Why does #include? return true on the first call only?
Thank you,
Matthew Margolis
print blockFile.read.include?("aa")
print blockFile.read.include?("aa")
blocklist.txt looks like
--------------------------------------------
aa
ae
aj
au
ae
---------------------------------------------
Why does #include? return true on the first call only?
Thank you,
Matthew Margolis