Class: Hotcell::Hasher

Inherits:
Node
  • Object
show all
Defined in:
lib/hotcell/node/hasher.rb

Instance Attribute Summary

Attributes inherited from Node

#children, #name, #options

Instance Method Summary collapse

Methods inherited from Node

#==, #[], build, #initialize, #optimize, #process, #render_nodes

Constructor Details

This class inherits a constructor from Hotcell::Node

Instance Method Details

#render(context, *values) ⇒ Object



3
4
5
# File 'lib/hotcell/node/hasher.rb', line 3

def render context, *values
  Hash[values]
end