class ExceptionForMatrix::ErrOperationNotImplemented

Parent:
StandardError

Public Class Methods

new(vals) Show source
# File lib/matrix.rb, line 49
def initialize(vals)
  super("Sorry, Operation(#{vals[0]}) not implemented: #{vals[1]} op #{vals[2]}")
end
Calls superclass method Exception::new

Ruby Core © 1993–2020 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.