Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for block arguments #39

Closed
tario opened this issue Oct 24, 2011 · 0 comments
Closed

Support for block arguments #39

tario opened this issue Oct 24, 2011 · 0 comments

Comments

@tario
Copy link
Owner

tario commented Oct 24, 2011

example:

def foo(a,b,c,&block)
block.call
end

foo(1,2,3) do
print "hello world\n"
end

@tario tario closed this as completed Nov 2, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant