}
map.put(AttributeName.WRITER, writer);
Ruby runtime = container.getProvider().getRuntime();
RubyIO io = getRubyIO(runtime, writer);
runtime.defineVariable(new OutputGlobalVariable(runtime, "$stdout", io), GlobalVariable.Scope.GLOBAL);
runtime.getObject().storeConstant("STDOUT", io);
runtime.getGlobalVariables().alias("$>", "$stdout");
runtime.getGlobalVariables().alias("$defout", "$stdout");
}