title: Get all local variables or available methods from irb?
body: <p>When I go into irb and type in a command that does not exist I get an error stating</p>
  
  <pre><code>"undefined local variable or method 'my_method' for main:Object (NameError)"
  </code></pre>
  
  <p>Is there a way to just get a list of what local variables or methods ARE available? This would be really useful for exploring ruby.</p>