title: If I defined a Ruby method in IRB, how do I edit that method without retyping everything?
body: <p>Say I am running IRB and I type this into the console:</p>
  
  <pre><code>def full_name(first, last)
     puts "Your full name is: #{first, ' ', last}"
  end
  </code></pre>
  
  <p>Say, that I wanted to edit that to include the parameter <code>middle</code>, how would I just bring back up that same method and edit the parameter list and edit the <code>puts</code> statement without having to retype the entire method?</p>
  
  <p>P.S. I know that this example is simple and I could easily just retype the method, but I have much larger methods I am experimenting with and I am using this simple one for brevity.</p>
  
  <p>Thanks.</p>