Exception: ShuntingYard::UnknownFunctionError

Inherits:
Error
  • Object
show all
Defined in:
lib/shunting_yard/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(token) ⇒ UnknownFunctionError

Returns a new instance of UnknownFunctionError.



29
30
31
# File 'lib/shunting_yard/errors.rb', line 29

def initialize(token)
  super "Unknown function '#{token}'"
end