Module: Ronin::Support::Web::XML::Mixin
- Included in:
- Mixin
- Defined in:
- lib/ronin/support/web/xml/mixin.rb
Overview
Provides helper methods for working with XML.
Instance Method Summary collapse
-
#xml_build { ... } ⇒ Nokogiri::XML::Builder
Creates a new
Nokogiri::XML::Builder
. -
#xml_open(path) {|doc| ... } ⇒ Nokogiri::XML::Document
(also: #open_xml)
Opens an XML file.
-
#xml_parse(xml) {|doc| ... } ⇒ Nokogiri::XML::Document
Parses the body of a document into a HTML document object.
Instance Method Details
#xml_build { ... } ⇒ Nokogiri::XML::Builder
Creates a new Nokogiri::XML::Builder
.
104 105 106 |
# File 'lib/ronin/support/web/xml/mixin.rb', line 104 def xml_build(&block) XML.build(&block) end |