class Sperm::NoSuitableGroup
This runtime error appears when requested permutation order is bigger than maximum group order in known set of cyclic groups.
Attributes
order[R]
Public Class Methods
new(order)
click to toggle source
# File lib/sperm/exceptions.rb, line 8 def initialize(order) @order = order end
Public Instance Methods
to_s()
click to toggle source
# File lib/sperm/exceptions.rb, line 12 def to_s "no suitable group for permutation of order #{order} found" end