Skip to content

Instantly share code, notes, and snippets.

@jmazzi
Last active December 17, 2015 11:19
Show Gist options
  • Save jmazzi/5601819 to your computer and use it in GitHub Desktop.
Save jmazzi/5601819 to your computer and use it in GitHub Desktop.
class Object
def tap_async(&block)
Thread.new { tap(&block) }
self
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment