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
whereamiin byebug islisthttps://fleeblewidget.co.uk/2014/05/byebug-cheatsheet/you can also type
helpwhen in a byebug session to get the list of commands