In Files

Parent

Methods

Class Index [+]

Quicksearch

Object

Public Instance Methods

Nokogiri(*args, &block) click to toggle source
 

Parser a document contained in args. Nokogiri will try to guess what type of document you are attempting to parse. For more information, see Nokogiri.parse

To specify the type of document, use Nokogiri.XML or Nokogiri.HTML.

     # File lib/nokogiri.rb, line 126
126: def Nokogiri(*args, &block)
127:   if block_given?
128:     builder = Nokogiri::HTML::Builder.new(&block)
129:     return builder.doc.root
130:   else
131:     Nokogiri.parse(*args)
132:   end
133: end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.