class Rubasteme::UnexpectedTokenTypeError

Indicates a token is not expected one.

Public Class Methods

new(got, expected = nil) click to toggle source
Calls superclass method
# File lib/rubasteme/error.rb, line 25
def initialize(got, expected = nil)
  super(EMSG[:unexpected_token_type] % [got, expected])
end