class OneFactorization::InvalidLengthError

Attributes

result[R]

Public Class Methods

new(result) click to toggle source
# File lib/one_factorization.rb, line 7
def initialize result
  @result = result
  @message = 'cannot 1-factorize an array with an odd number of elements'
end