Class: Ducktrap::Node::Map

Inherits:
Ducktrap::Node show all
Includes:
Unary
Defined in:
lib/ducktrap/node/map.rb

Overview

Ducktrap that performs map operation

Defined Under Namespace

Classes: Evaluator

Instance Method Summary collapse

Methods inherited from Ducktrap::Node

build, #call, #run

Methods included from PrettyDump

#pretty_dump, #pretty_inspect

Instance Method Details

#inverseDucktrap

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Return inverse transformator

Returns:



15
16
17
# File 'lib/ducktrap/node/map.rb', line 15

def inverse
  self.class.new(operand.inverse)
end