My apologies if this is a ridiculously simple question…
Giiven the following code:
line = file.readline.strip # line = '; some line' if line.to_s == ';' # false! line = 59, not ';' # ... end
My problem is, line returns a fixnum, which doesn’t compare with the
’;’ string. So… how do perform this comparison?
"Perhaps a lunatic was simply a minority of one"