Exception: Trith::Machine::InvalidOperatorError
- Inherits:
-
NoMethodError
- Object
- NoMethodError
- Trith::Machine::InvalidOperatorError
- Defined in:
- lib/trith/machine.rb
Overview
# Invalid operator
Instance Attribute Summary (collapse)
-
- (Object) operator
readonly
Returns the value of attribute operator.
Instance Method Summary (collapse)
-
- (InvalidOperatorError) initialize(operator)
constructor
A new instance of InvalidOperatorError.
Constructor Details
- (InvalidOperatorError) initialize(operator)
A new instance of InvalidOperatorError
358 359 360 361 |
# File 'lib/trith/machine.rb', line 358 def initialize(operator) @operator = operator super("invalid operator: #{operator}") end |
Instance Attribute Details
- (Object) operator (readonly)
Returns the value of attribute operator
356 357 358 |
# File 'lib/trith/machine.rb', line 356 def operator @operator end |