Hacker News new | ask | show | jobs
by ehsanu1 5105 days ago
But that doesn't give you autocomplete within the editor, it seems like it just opens up the editor and evals the file after exiting the editor.
1 comments

Technically true, but I write most of my code in the REPL, then use edit-method to get it into my editor.

Fom the link: NOTE: If you're using Ruby 1.9, you can use edit-method on methods defined from the Pry console. As these methods have no associated file, this implies the -p switch. This functionality doesn't yet work for Ruby 1.8.