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 Mar 7, 2018
1 parent cc392de commit 8cc364d
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 8cc364d

Please sign in to comment.