Exception: ExceptionForMatrix::ErrOperationNotImplemented

Inherits:
StandardError
  • Object
show all
Defined in:
lib/matrix.rb

Instance Method Summary collapse

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