summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/json/ext/parser/parser.rl4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/json/ext/parser/parser.rl b/ext/json/ext/parser/parser.rl
index b18f06f..3257a48 100644
--- a/ext/json/ext/parser/parser.rl
+++ b/ext/json/ext/parser/parser.rl
@@ -120,9 +120,9 @@ static ID i_json_creatable_p, i_json_create, i_create_id, i_create_additions,
fhold; fbreak;
} else {
if (NIL_P(json->object_class)) {
- rb_hash_aset(*result, last_name, v);
+ rb_hash_aset(*result, last_name, v);
} else {
- rb_funcall(*result, i_aset, 2, last_name, v);
+ rb_funcall(*result, i_aset, 2, last_name, v);
}
fexec np;
}