Exception: NsMacroProcessor::SyntaxError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ns_macro_processor/syntax_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(expected, actual) ⇒ SyntaxError

Returns a new instance of SyntaxError.



4
5
6
# File 'lib/ns_macro_processor/syntax_error.rb', line 4

def initialize(expected, actual)
  super("Syntax error: expected '#{expected}' but was '#{actual}'")
end