Class: Faceter::Nodes::StringifyKeys Private
- Inherits:
-
AbstractMapper::Node
- Object
- AbstractMapper::Node
- Faceter::Nodes::StringifyKeys
- Defined in:
- lib/faceter/nodes/stringify_keys.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 stringifying keys of tuple (and its nested tuples)
Instance Method Summary collapse
-
#transproc ⇒ Transproc::Function
private
Transformer function, defined by the node.
Instance Method Details
#transproc ⇒ Transproc::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
17 18 19 20 |
# File 'lib/faceter/nodes/stringify_keys.rb', line 17 def transproc fn = Functions[:stringify_keys] nested ? Functions[:recursion, Functions[:is, Hash, fn]] : fn end |