Exception: Cyclotone::ParseError
- Defined in:
- lib/cyclotone/errors.rb
Instance Attribute Summary collapse
-
#column ⇒ Object
readonly
Returns the value of attribute column.
-
#line ⇒ Object
readonly
Returns the value of attribute line.
-
#source ⇒ Object
readonly
Returns the value of attribute source.
Instance Method Summary collapse
-
#initialize(message, line: nil, column: nil, source: nil) ⇒ ParseError
constructor
A new instance of ParseError.
Constructor Details
#initialize(message, line: nil, column: nil, source: nil) ⇒ ParseError
Returns a new instance of ParseError.
9 10 11 12 13 14 15 |
# File 'lib/cyclotone/errors.rb', line 9 def initialize(, line: nil, column: nil, source: nil) @line = line @column = column @source = source super(()) end |
Instance Attribute Details
#column ⇒ Object (readonly)
Returns the value of attribute column.
7 8 9 |
# File 'lib/cyclotone/errors.rb', line 7 def column @column end |
#line ⇒ Object (readonly)
Returns the value of attribute line.
7 8 9 |
# File 'lib/cyclotone/errors.rb', line 7 def line @line end |
#source ⇒ Object (readonly)
Returns the value of attribute source.
7 8 9 |
# File 'lib/cyclotone/errors.rb', line 7 def source @source end |