Skip to content

Instantly share code, notes, and snippets.

@skatenerd
Created May 8, 2013 15:09
Show Gist options
  • Save skatenerd/5541107 to your computer and use it in GitHub Desktop.
Save skatenerd/5541107 to your computer and use it in GitHub Desktop.
only interesting when run from repl
1.9.3-p194 :002 > def foo
1.9.3-p194 :003?> require 'pry'
1.9.3-p194 :004?> Process.fork do
1.9.3-p194 :005 > binding.pry
1.9.3-p194 :006?> end
1.9.3-p194 :007?> Process.fork do
1.9.3-p194 :008 > binding.pry
1.9.3-p194 :009?> end
1.9.3-p194 :010?> end
#what does it do?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment