module TreeStack::NodeType
Public Instance Methods
push_self(stack)
click to toggle source
# File lib/pseudohiki/treestack.rb, line 20 def push_self(stack) @depth = stack.current_node.depth + 1 stack.push_as_child_node self nil end