Exception: Rufo::SyntaxError
- Inherits:
-
StandardError
- Object
- StandardError
- Rufo::SyntaxError
- Defined in:
- lib/rufo.rb
Instance Attribute Summary collapse
-
#lineno ⇒ Object
readonly
Returns the value of attribute lineno.
Instance Method Summary collapse
-
#initialize(message, lineno) ⇒ SyntaxError
constructor
A new instance of SyntaxError.
Constructor Details
#initialize(message, lineno) ⇒ SyntaxError
Returns a new instance of SyntaxError.
10 11 12 13 |
# File 'lib/rufo.rb', line 10 def initialize(, lineno) super() @lineno = lineno end |
Instance Attribute Details
#lineno ⇒ Object (readonly)
Returns the value of attribute lineno.
8 9 10 |
# File 'lib/rufo.rb', line 8 def lineno @lineno end |