Skip to content

Instantly share code, notes, and snippets.

@HaiTo
Created January 2, 2015 12:56
Show Gist options
  • Save HaiTo/2379910f28eca88c99c8 to your computer and use it in GitHub Desktop.
Save HaiTo/2379910f28eca88c99c8 to your computer and use it in GitHub Desktop.
object.method do |block_var|
block_var.method!
end
object.method {|block_var| block_var.method! }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment