module Axiom::Operation::Unary

Attributes

operand[R]

The operand to the operation

@example

operand = unary.operand

@return [Object]

@api public

Public Class Methods

new(operand) click to toggle source

Initialize Unary Operation

@param [Object] operand

the operand for the operation

@return [undefined]

@api private

# File lib/axiom/support/operation/unary.rb, line 26
def initialize(operand)
  @operand = self.class.freezer.call(operand)
end