Exception: Comet::ParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Comet::ParseError
- Defined in:
- lib/comet-html/generator.rb
Instance Attribute Summary collapse
-
#el ⇒ Object
readonly
Returns the value of attribute el.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(el, message) ⇒ ParseError
constructor
A new instance of ParseError.
- #line ⇒ Object
Constructor Details
#initialize(el, message) ⇒ ParseError
Returns a new instance of ParseError.
21 22 23 24 |
# File 'lib/comet-html/generator.rb', line 21 def initialize el, @el = el @message = end |
Instance Attribute Details
#el ⇒ Object (readonly)
Returns the value of attribute el.
19 20 21 |
# File 'lib/comet-html/generator.rb', line 19 def el @el end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
19 20 21 |
# File 'lib/comet-html/generator.rb', line 19 def @message end |
Instance Method Details
#line ⇒ Object
26 27 28 |
# File 'lib/comet-html/generator.rb', line 26 def line el.line end |