Method: LazyGraph::StackPointer#respond_to_missing?

Defined in:
lib/lazy_graph/stack_pointer.rb

#respond_to_missing?(name, include_private = false) ⇒ Boolean

Determines if the stack pointer can respond to a missing method by mimicking the behavior of the frame or any parent stack pointers recursively.

Returns:

  • (Boolean)


63
64
65
# File 'lib/lazy_graph/stack_pointer.rb', line 63

def respond_to_missing?(name, include_private = false)
  frame.respond_to?(name, include_private) || parent.respond_to?(name, include_private)
end