Sha256: efd0d4c34718ecbd793911ff87ba51ad33ceff5fd213dab83fa797c70fe431b3
Contents?: true
Size: 407 Bytes
Versions: 6
Compression:
Stored size: 407 Bytes
Contents
module Treetop module Runtime class TerminalParseFailure attr_reader :index, :expected_string, :unexpected def initialize(index, expected_string, unexpected = false) @index = index @expected_string = expected_string @unexpected = unexpected end def to_s "String matching #{expected_string} #{@unexpected ? 'not ' : ''}expected." end end end end
Version data entries
6 entries across 6 versions & 2 rubygems