HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/default/doc/nokogiri-1.12.5-x86_64-linux/ri/Nokogiri/XML/Builder/with-c.ri
U:RDoc::AnyMethod[iI"	with:ETI"!Nokogiri::XML::Builder::with;TT:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[	I"JCreate a builder with an existing root object.  This is for use when ;TI"Gyou have an existing document that you would like to augment with ;TI"Gbuilder methods.  The builder context created will start with the ;TI"given +root+ node.;To:RDoc::Markup::BlankLineo;
;	[I"For example:;T@o:RDoc::Markup::Verbatim;	[
I"3doc = Nokogiri::XML(File.read('somedoc.xml'))
;TI"BNokogiri::XML::Builder.with(doc.at_css('some_tag')) do |xml|
;TI"1  # ... Use normal builder methods here ...
;TI"<  xml.awesome # add the "awesome" tag below "some_tag"
;TI"end;T:@format0:
@fileI" lib/nokogiri/xml/builder.rb;T:0@omit_headings_from_table_of_contents_below000[I"(root, &block);T@FI"Builder;TcRDoc::NormalClass00