Class: Faceter::Nodes::Rename Private

Inherits:
AbstractMapper::Node
  • Object
show all
Defined in:
lib/faceter/nodes/rename.rb

Overview

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

The node describes renaming a key of tuples

Instance Method Summary collapse

Instance Method Details

#transprocTransproc::Function

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.

Transformer function, defined by the node

Returns:

  • (Transproc::Function)


17
18
19
# File 'lib/faceter/nodes/rename.rb', line 17

def transproc
  Functions[:rename_keys, keys]
end