Module: Axiom::Function::Numeric::Addition::Methods

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

Instance Method Summary collapse

Methods included from Aliasable

inheritable_alias

Instance Method Details

#add(other) ⇒ Addition

Return an addition function

Examples:

addition = attribute.add(other)

Parameters:

  • other (Object)

Returns:



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

def add(other)
  Addition.new(self, other)
end