ninjudd-tuple 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/ext/tuple.c +1 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
data/ext/tuple.c
CHANGED
@@ -29,7 +29,7 @@ static VALUE tuple_dump(VALUE self, VALUE tuple) {
|
|
29
29
|
u_int32_t digit;
|
30
30
|
BDIGIT *digits;
|
31
31
|
|
32
|
-
if (TYPE(tuple) != T_ARRAY) tuple = rb_ary_new4(1, tuple);
|
32
|
+
if (TYPE(tuple) != T_ARRAY) tuple = rb_ary_new4(1, &tuple);
|
33
33
|
|
34
34
|
for (i = 0; i < RARRAY(tuple)->len; i++) {
|
35
35
|
item = RARRAY(tuple)->ptr[i];
|