Created
November 8, 2008 20:04
-
-
Save lifo/23123 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'ruby2ruby' | |
class Hello | |
def wtf(&block) | |
puts block.to_ruby | |
end | |
end | |
Hello.new.wtf do | |
a = 1 | |
b = 2 | |
a + b | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment