Skip to content

Instantly share code, notes, and snippets.

@Qard
Created October 29, 2017 18:32
Show Gist options
  • Save Qard/1330941cf129fe223467d7087d691bb5 to your computer and use it in GitHub Desktop.
Save Qard/1330941cf129fe223467d7087d691bb5 to your computer and use it in GitHub Desktop.
class Handler
def initialize
with self yield
end
def hello
puts "this should work..."
end
end
Handler.new do
hello
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment