Skip to content

Commit

Permalink
Remove old code that yields self in xml document fragment C extension
Browse files Browse the repository at this point in the history
  • Loading branch information
JackMc committed Dec 11, 2017
1 parent 058f570 commit 1dd962b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ext/nokogiri/xml_document_fragment.c
Expand Up @@ -25,8 +25,6 @@ static VALUE new(int argc, VALUE *argv, VALUE klass)
rb_node = Nokogiri_wrap_xml_node(klass, node);
rb_obj_call_init(rb_node, argc, argv);

if(rb_block_given_p()) rb_yield(rb_node);

return rb_node;
}

Expand Down

0 comments on commit 1dd962b

Please sign in to comment.