Module: Axiom::Function::Numeric::Subtraction::Methods

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

Instance Method Summary collapse

Methods included from Aliasable

inheritable_alias

Instance Method Details

#subtract(other) ⇒ Subtraction

Return a subtraction function

Examples:

subtraction = attribute.subtract(other)

Parameters:

  • other (Object)

Returns:



50
51
52
# File 'lib/axiom/function/numeric/subtraction.rb', line 50

def subtract(other)
  Subtraction.new(self, other)
end