Module: Ronin::Support::Web::HTML::Mixin
- Included in:
 - Mixin
 
- Defined in:
 - lib/ronin/support/web/html/mixin.rb
 
Overview
Provides helper methods for working with HTML.
Instance Method Summary collapse
- 
  
    
      #html_build { ... } ⇒ Nokogiri::HTML::Builder 
    
    
  
  
  
  
  
  
  
  
  
    
Creates a new
Nokogiri::HTML::Builder. - 
  
    
      #html_open(path) {|doc| ... } ⇒ Nokogiri::HTML::Document 
    
    
      (also: #open_html)
    
  
  
  
  
  
  
  
  
  
    
Opens an HTML file.
 - 
  
    
      #html_parse(html) {|doc| ... } ⇒ Nokogiri::HTML::Document 
    
    
  
  
  
  
  
  
  
  
  
    
Parses the body of a document into a HTML document object.
 
Instance Method Details
#html_build { ... } ⇒ Nokogiri::HTML::Builder
Creates a new Nokogiri::HTML::Builder.
      108 109 110  | 
    
      # File 'lib/ronin/support/web/html/mixin.rb', line 108 def html_build(&block) HTML.build(&block) end  |