LoginSignup
80
59

More than 5 years have passed since last update.

pryのbinding.pryでループ処理のデバッグ中に強制終了したいときは!!!が便利!!!

Posted at

知らなかったのでメモ

ループ処理の中でbinding.pryしてしまっているときなどに、

[1] pry(Hoge)> !!!

で終了。
ループ回数分ctrl + Dする手間が省けました。

参考
https://twitter.com/Yukimitsu_Izawa/status/301547559439192067
https://github.com/pry/pry/wiki/State-navigation#exit-the-program-completely

80
59
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
80
59