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

RubyBlocks12() public method

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

foo { |a,*b| puts a,'-',b }
");
            }, @"
1
-
2
3
");
        }
Tests