Method: Apricot::SyntaxError#initialize
- Defined in:
- lib/apricot/errors.rb
#initialize(filename, line, msg, incomplete = false) ⇒ SyntaxError
Returns a new instance of SyntaxError.
5 6 7 8 9 10 |
# File 'lib/apricot/errors.rb', line 5 def initialize(filename, line, msg, incomplete = false) @filename = filename @line = line @msg = msg @incomplete = incomplete end |