Sha256: 3da764b4e02b0d42255f7f60c4ae9af7f5085d136fc04d892535a4db06b364b0
Contents?: true
Size: 421 Bytes
Versions: 8
Compression:
Stored size: 421 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
8 entries across 8 versions & 1 rubygems