wrong use of "Raise" method in matrix.rb
"Raise" method added by e2mmap library shows customized error messages according to pre-registered formats:
irb(main):001:0> require 'matrix'
irb(main):002:0> Matrix.Raise ArgumentError, 2, 3 rescue $!
However it's not needed if we make messages by hand.
irb(main):003:0> Matrix.Raise ArgumentError, "One size must be 0"
ArgumentError: invalid value for Integer(): "One size must be 0"
irb(main):004:0> raise ArgumentError, "One size must be 0" rescue $!
#1 Updated by Marc-Andre Lafortune over 3 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100