class NestedText::Errors::ParseInlineListSyntaxError

Public Class Methods

new(line, colno, wrong_char) click to toggle source
Calls superclass method NestedText::Errors::ParseError::new
# File lib/nestedtext/errors_internal.rb, line 114
def initialize(line, colno, wrong_char)
  super(line, line.indentation + colno, "expected ‘,’ or ‘]’, found ‘#{wrong_char}’.")
end