Is `str.lines.count > 1` a better check?  Seems like `str.include?(other_string)` could fail if the encodings don't match but `str.lines.count` should always work.