Method: LazyGraph::StackPointer#recycle!

Defined in:
lib/lazy_graph/stack_pointer.rb

#recycle!Object

Recycles the current StackPointer by adding it back to the pointer pool. Once recycled, this instance should no longer be used unless reassigned by push.



26
27
28
29
# File 'lib/lazy_graph/stack_pointer.rb', line 26

def recycle!
  POINTER_POOL.push(self)
  nil
end