class ExceptionForMatrix::ErrOperationNotDefined
Public Class Methods
new(vals)
click to toggle source
Calls superclass method
# File matrix-0.4.2/lib/matrix.rb, line 39 def initialize(vals) if vals.is_a?(Array) super("Operation(#{vals[0]}) can't be defined: #{vals[1]} op #{vals[2]}") else super(vals) end end