title: Suppress particular warning in Ruby
body: <p>I've seen plenty of posts providing the <code>-W0</code> flag as an answer to this issue, but I don't want to suppress all warnings, just warnings of a particular value.</p>
  
  <p>I'm running a non-rails app (which uses ActiveRecord, notwithstanding) on Ruby 1.8.7.  I want to keep all warnings except for the following DEPRECATION WARNING:</p>
  
  <p><code>Object#id will be deprecated; use Object#object_id</code></p>
  
  <p>If that's not possible, I'd like to jettison all deprecation warnings.  Java, at least, lets you do this.  How about Ruby?</p>
  
  <p>Update: I've upvoted both answers but checked the one that later searchers will expect to find here.</p>