title: Can you 'require' ruby file in irb session, automatically, on every command?
body: <p>I am currently editing a file, and I'm using irb to test the api:</p>
  
  <pre><code>&gt; require './file.rb'
  &gt; o = Object.new
  &gt; o.method
  </code></pre>
  
  <p>I then want to be able to edit the file.rb, and be able to see changes immediately. Example: assume new_method did not exist when I first required file.rb:</p>
  
  <pre><code>&gt; o.new_method
  </code></pre>
  
  <p>Which will return an error. Is there a sandbox/developer mode or a method whereby I can achieve the above without having to reload the file every time? Require will not work after the first require, regardless. I assume worst case I'd have to use load instead.</p>