On this page
class ExceptionForMatrix::ErrNotRegular
Public Class Methods
# File lib/matrix.rb, line 29
def initialize(val = nil)
if val
super(val)
else
super("Not Regular Matrix")
end
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.