Don't yield on initialize

This commit is contained in:
Andre Nathan 2013-12-05 08:14:15 -02:00
parent 9a25d6ef29
commit 61dddd8ec9

View file

@ -78,9 +78,6 @@ container_initialize(int argc, VALUE *argv, VALUE self)
Data_Get_Struct(self, struct container_data, data); Data_Get_Struct(self, struct container_data, data);
container = data->container; container = data->container;
if (rb_block_given_p())
rb_yield(self);
return self; return self;
} }