Exception: ExceptionForMatrix::ErrNotRegular
- Inherits:
-
StandardError
- Object
- StandardError
- ExceptionForMatrix::ErrNotRegular
- Defined in:
- lib/matrix.rb
Instance Method Summary collapse
-
#initialize(val = nil) ⇒ ErrNotRegular
constructor
A new instance of ErrNotRegular.
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 |