module Sperm::Groups::Zn

Represents Z/nZ group.

Public Instance Methods

include?(element) click to toggle source
# File lib/sperm/groups/intmod.rb, line 5
def include?(element)
  (0...modulo).include?(element)
end