RubySymbol value_s = context.runtime.newSymbol("value");
RubySymbol type_s = context.runtime.newSymbol("type");
RubySymbol format_s = context.runtime.newSymbol("format");
for (int i = 0; i < params.getLength(); i++) {
IRubyObject param = params.entry(i);
Format valueFormat = Format.Text;
if (param.isNil()) {
values[i] = new Value(null, valueFormat);
} else if (param instanceof RubyHash) {
RubyHash hash = (RubyHash) params.get(i);
IRubyObject value = hash.op_aref(context, value_s);