Method: Pry::ObjectPath#initialize

Defined in:
lib/pry/object_path.rb

#initialize(path_string, current_stack) ⇒ ObjectPath

Returns a new instance of ObjectPath.

Parameters:

  • The object path expressed as a string.

  • The current state of the binding stack.



23
24
25
26
# File 'lib/pry/object_path.rb', line 23

def initialize(path_string, current_stack)
  @path_string   = path_string
  @current_stack = current_stack
end