Exception: ShuntingYard::UnknownParenthesisError
- Defined in:
- lib/shunting_yard/errors.rb
Instance Method Summary collapse
-
#initialize(token) ⇒ UnknownParenthesisError
constructor
A new instance of UnknownParenthesisError.
Constructor Details
#initialize(token) ⇒ UnknownParenthesisError
Returns a new instance of UnknownParenthesisError.
35 36 37 |
# File 'lib/shunting_yard/errors.rb', line 35 def initialize(token) super "Token '#{token}' is not a parenthesis" end |