Top Level Namespace
Defined Under Namespace
Modules: Nokogiri
Constant Summary collapse
- ROOT =
File.(File.join(File.dirname(__FILE__), '..', '..'))
Instance Method Summary collapse
Instance Method Details
#Nokogiri(*args, &block) ⇒ Object
44 45 46 47 48 49 50 51 |
# File 'lib/nokogiri.rb', line 44 def Nokogiri(*args, &block) if block_given? builder = Nokogiri::HTML::Builder.new(&block) return builder.doc else Nokogiri::HTML.parse(*args) end end |