Parent

Class/Module Index [+]

Quicksearch

Nokogiri::HTML::Document::EncodingReader::JumpSAXHandler

Public Instance Methods

start_element(name, attrs = []) click to toggle source
# File lib/nokogiri/html/document.rb, line 164
def start_element(name, attrs = [])
  super
  throw @jumptag, @encoding if @encoding
  throw @jumptag, nil if name =~ /\A(?:div|h1|img|p|br)\z/
end

Public Class Methods

new(jumptag) click to toggle source
# File lib/nokogiri/html/document.rb, line 159
def initialize(jumptag)
  @jumptag = jumptag
  super()
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.