Exception: Nokogiri::HTML::Document::EncodingFound
- Inherits:
-
StandardError
- Object
- StandardError
- Nokogiri::HTML::Document::EncodingFound
- Defined in:
- lib/nokogiri/html/document.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#found_encoding ⇒ Object
readonly
Returns the value of attribute found_encoding.
Instance Method Summary collapse
-
#initialize(encoding) ⇒ EncodingFound
constructor
A new instance of EncodingFound.
Constructor Details
#initialize(encoding) ⇒ EncodingFound
Returns a new instance of EncodingFound.
212 213 214 215 |
# File 'lib/nokogiri/html/document.rb', line 212 def initialize(encoding) @found_encoding = encoding super("encoding found: %s" % encoding) end |
Instance Attribute Details
#found_encoding ⇒ Object (readonly)
Returns the value of attribute found_encoding.
210 211 212 |
# File 'lib/nokogiri/html/document.rb', line 210 def found_encoding @found_encoding end |