class Bytewise::UnexpectedCharactersException

Public Class Methods

new(expected, lexer) click to toggle source
Calls superclass method
# File lib/brace_markup/errors/unexpected_expression.rb, line 9
def initialize(expected, lexer)
  super("Unexpected '#{lexer.peek(length: expected.length)[:chunk]}' was expecting '#{expected}' @ #{lexer.line_and_col}")
end