Module: Axiom::Function::Numeric::Modulo::Methods

Extended by:
Aliasable
Defined in:
lib/axiom/function/numeric/modulo.rb

Instance Method Summary collapse

Methods included from Aliasable

inheritable_alias

Instance Method Details

#modulo(other) ⇒ Modulo

Return a modulo function

Examples:

modulo = attribute.modulo(other)

Parameters:

  • other (Object)

Returns:



41
42
43
# File 'lib/axiom/function/numeric/modulo.rb', line 41

def modulo(other)
  Modulo.new(self, other)
end