# File lib/pry/core_extensions.rb, line 113 def __binding__ # BasicObjects don't have respond_to?, so we just define the method # every time. As they also don't have `.freeze`, this call won't # fail as it can for normal Objects. (class << self; self; end).class_eval "# Get a binding with 'self' set to self, and no locals.\n#\n# The default definee is determined by the context in which the\n# definition is eval'd.\n#\n# Please don't call this method directly, see {__binding__}.\n#\n# @return [Binding]\ndef __pry__\n::Kernel.binding\nend\n", __FILE__, __LINE__ + 1 self.__pry__ end