Exception: ParserError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/showdown-team-import.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#lineObject (readonly)

Returns the value of attribute line.



8
9
10
# File 'lib/showdown-team-import.rb', line 8

def line
  @line
end