1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Raise StopPaging when user quits pager

This commit is contained in:
Ryan Fitzgerald 2013-11-02 15:54:21 -07:00
parent d0f198bd64
commit 702f0be0a3

View file

@ -140,6 +140,7 @@ class Pry::Pager
end
end
rescue Errno::EPIPE
raise StopPaging
end
def close