D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
td-agent
/
embedded
/
lib
/
ruby
/
gems
/
2.1.0
/
doc
/
nokogiri-1.8.1
/
ri
/
Nokogiri
/
Filename :
Slop-i.ri
back
Copy
U:RDoc::AnyMethod[iI" Slop:EFI"Nokogiri#Slop;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FParse a document and add the Slop decorator. The Slop decorator ;TI"Limplements method_missing such that methods may be used instead of CSS ;TI"or XPath. For example:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"%doc = Nokogiri::Slop(<<-eohtml) ;TI" <html> ;TI" <body> ;TI" <p>first</p> ;TI" <p>second</p> ;TI" </body> ;TI" </html> ;TI"eohtml ;TI"4assert_equal('second', doc.html.body.p[1].text);T:@format0: @fileI"lib/nokogiri.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*args, &block);T@FI" Nokogiri;TcRDoc::NormalModule00