Skip to content

Instantly share code, notes, and snippets.

@oddlyzen
Forked from anonymous/snippet.rb
Created March 24, 2009 05:00
Show Gist options
  • Save oddlyzen/83952 to your computer and use it in GitHub Desktop.
Save oddlyzen/83952 to your computer and use it in GitHub Desktop.
Interesting little brain fart.
def speed_bump(&block)
sleep(1)
yield
sleep(1)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment