public static Object constructYamlBool(final Constructor ctor, final Node node) {
return SafeConstructorImpl.constructYamlBool(ctor,node) == Boolean.TRUE ? ((JRubyConstructor)ctor).runtime.getTrue() : ((JRubyConstructor)ctor).runtime.getFalse();
}
public static Object constructYamlOmap(final Constructor ctor, final Node node) {
Ruby runtime = ((JRubyConstructor)ctor).runtime;
RubyArray arr = (RubyArray)(runtime.fastGetModule("YAML").fastGetConstant("Omap").callMethod(runtime.getCurrentContext(),"new"));
List l = (List)ctor.constructSequence(node);
ctor.doRecursionFix(node, arr);
for(Iterator iter = l.iterator();iter.hasNext();) {
IRubyObject v = (IRubyObject)iter.next();
if(v instanceof RubyHash) {