Exception: Comet::HtmlParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Comet::HtmlParseError
- Defined in:
- lib/comet-html/generator.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(error) ⇒ HtmlParseError
constructor
A new instance of HtmlParseError.
Constructor Details
#initialize(error) ⇒ HtmlParseError
Returns a new instance of HtmlParseError.
34 35 36 37 |
# File 'lib/comet-html/generator.rb', line 34 def initialize error @message = error. @line = error.line end |
Instance Attribute Details
#line ⇒ Object (readonly)
Returns the value of attribute line.
32 33 34 |
# File 'lib/comet-html/generator.rb', line 32 def line @line end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
32 33 34 |
# File 'lib/comet-html/generator.rb', line 32 def @message end |