Exception: ExceptionForMatrix::ErrNotRegular

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

Instance Method Summary collapse

Constructor Details

#initialize(val = nil) ⇒ ErrNotRegular

Returns a new instance of ErrNotRegular.



29
30
31
32
33
34
35
# File 'lib/matrix.rb', line 29

def initialize(val = nil)
  if val
    super(val)
  else
    super("Not Regular Matrix")
  end
end