Exception: ExceptionForMatrix::ErrOperationNotImplemented
- Inherits:
-
StandardError
- Object
- StandardError
- ExceptionForMatrix::ErrOperationNotImplemented
- Defined in:
- lib/matrix.rb
Instance Method Summary collapse
-
#initialize(vals) ⇒ ErrOperationNotImplemented
constructor
A new instance of ErrOperationNotImplemented.
Constructor Details
#initialize(vals) ⇒ ErrOperationNotImplemented
Returns a new instance of ErrOperationNotImplemented.
49 50 51 |
# File 'lib/matrix.rb', line 49 def initialize(vals) super("Sorry, Operation(#{vals[0]}) not implemented: #{vals[1]} op #{vals[2]}") end |