I've seen answers to this question for irb, but not for pry specifically.

So, is it possible to save a log of a pry session?

有帮助吗?

解决方案

You can use the save option to save your session to a file.

其他提示

It is now:

http://www.github.com/baweaver/pry-session

This will allow for saving sessions in Pry, loading, editing, and listing them.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top