class StringError

Public Class Methods

new(byte, afterString) click to toggle source
# File lib/bidi/bidi.rb, line 43
def initialize byte, afterString
  @byte=byte
  @afterString=afterString
end

Public Instance Methods

message() click to toggle source
# File lib/bidi/bidi.rb, line 47
def message
  'Unexpected byte(s): ' + byte + ' after \'' + afterString + '\''
end