Exception: NsMacroProcessor::SyntaxError
- Inherits:
-
StandardError
- Object
- StandardError
- NsMacroProcessor::SyntaxError
- Defined in:
- lib/ns_macro_processor/syntax_error.rb
Instance Method Summary collapse
-
#initialize(expected, actual) ⇒ SyntaxError
constructor
A new instance of SyntaxError.
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 |