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.
131 132 133 134 |
# File 'lib/nokogiri/html/document.rb', line 131 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.
129 130 131 |
# File 'lib/nokogiri/html/document.rb', line 129 def found_encoding @found_encoding end |