Class: Axiom::Function::Numeric::UnaryPlus
- Inherits:
-
Axiom::Function::Numeric
- Object
- Axiom::Function
- Axiom::Function::Numeric
- Axiom::Function::Numeric::UnaryPlus
- Includes:
- Unary
- Defined in:
- lib/axiom/function/numeric/unary_plus.rb
Overview
A class representing a unary plus function
Defined Under Namespace
Modules: Methods
Instance Attribute Summary
Attributes included from Operation::Unary
Class Method Summary collapse
-
.inverse ⇒ Class<UnaryMinus>
Return the inverse function class.
-
.operation ⇒ Symbol
Return the unary plus operation.
Methods included from Unary
Methods included from Unary::Callable
Methods included from Operation::Unary
Methods inherited from Axiom::Function::Numeric
Methods inherited from Axiom::Function
extract_value, rename_attributes, #type
Methods included from Visitable
Class Method Details
.inverse ⇒ Class<UnaryMinus>
Return the inverse function class
31 32 33 |
# File 'lib/axiom/function/numeric/unary_plus.rb', line 31 def self.inverse UnaryMinus end |
.operation ⇒ Symbol
Return the unary plus operation
19 20 21 |
# File 'lib/axiom/function/numeric/unary_plus.rb', line 19 def self.operation :+@ end |