Skip to content

Instantly share code, notes, and snippets.

@davidvandusen
Last active April 8, 2018 02:21
Show Gist options
  • Save davidvandusen/54088362f533445ae0c1 to your computer and use it in GitHub Desktop.
Save davidvandusen/54088362f533445ae0c1 to your computer and use it in GitHub Desktop.
Debugging breakout notes
require 'byebug'
def continue?
print 'Want the time? (yes/no) '
answer = gets.chomp
answer == 'yes'
end
a = 'sumthin'
loop do
byebug
a = Time.now
puts a
break unless continue?
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment