title: How do I compare two files in Ruby 1.9?
body: <p>In Ruby 1.8, I would call <a href="http://stdlib.rubyonrails.org/libdoc/ftools/rdoc/classes/File.html#M000765">File.compare()</a> from the "ftools" library to easily compare the contents of two files.</p>
  
  <p>However, in Ruby 1.9, "ftools" is replaced by "fileutils", which doesn't have a "compare" method. What's the equivalent call?</p>