class ExceptionForMatrix::ErrNotRegular

Public Class Methods

new(val = nil) click to toggle source
Calls superclass method Exception::new
# File lib/matrix.rb, line 29
def initialize(val = nil)
  if val
    super(val)
  else
    super("Not Regular Matrix")
  end
end