IronRuby.Tests.Tests.RubyBlocks13 C# (CSharp) Method

RubyBlocks13() public method

public RubyBlocks13 ( ) : void
return void
        public void RubyBlocks13() {
            AssertOutput(delegate() {
                CompilerTest(@"
def foo
  yield 1,2,3
end

foo { |a,b| puts a,b }
");
            }, @"
1
2");
        }
Tests