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

SingletonMethodDefinitionOnSingletons1() public method

public SingletonMethodDefinitionOnSingletons1 ( ) : void
return void
        public void SingletonMethodDefinitionOnSingletons1() {
            TestOutput(@"
def true.foo; 't'; end
def false.bar; 'f'; end
def nil.baz; 'n'; end

print true.foo, false.bar, nil.baz
", @"
tfn
");
        }
Tests