Sha256: 499327163abed24d8f1bdbb7916bce411c12b9e950a8c04a29f209b821d5a6b1
Contents?: true
Size: 367 Bytes
Versions: 1
Compression:
Stored size: 367 Bytes
Contents
module Sperm # This runtime error appears when requested permutation order is bigger # than maximum group order in known set of cyclic groups. # class NoSuitableGroup < RuntimeError attr_reader :order def initialize(order) @order = order end def to_s "no suitable group for permutation of order #{order} found" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sperm-0.1.1 | lib/sperm/exceptions.rb |