In Ruby, we have a gem called byebug
and a gem called pry
.
In pry
, you can type whereami
to see where you are, when you are in a binding.pry
session.
How do you do the same thing in byebug
?
In Ruby, we have a gem called byebug
and a gem called pry
.
In pry
, you can type whereami
to see where you are, when you are in a binding.pry
session.
How do you do the same thing in byebug
?
Copyright © 2021 Jogjafile Inc.
Something similar to
whereami
in byebug islist
https://fleeblewidget.co.uk/2014/05/byebug-cheatsheet/you can also type
help
when in a byebug session to get the list of commands