From: ngoc Date: 2005-11-28T21:22:29+09:00 Subject: from a file to an array of words I want to compare two text(html) files. "diff" command in Linux compares only by line. In Ruby, I can use "File.readlines" and "split" later. Is there a single function(method) to go from a file to an array of words. Thanks