class ExceptionForMatrix::ErrDimensionMismatch
Public Class Methods
new(val = nil)
click to toggle source
Calls superclass method
Exception::new
# File lib/matrix.rb, line 19 def initialize(val = nil) if val super(val) else super("Dimension mismatch") end end