Skip to content

Instantly share code, notes, and snippets.

@ryoqun
Created March 21, 2013 10:58
Show Gist options
  • Save ryoqun/5212223 to your computer and use it in GitHub Desktop.
Save ryoqun/5212223 to your computer and use it in GitHub Desktop.
prc = proc do
end
loop do
prc.block.instance_variable_set(:@compiled_code, prc.block.compiled_code.dup)
prc.call
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment