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