remove unnecessary kruft i neglected to remove in last commit
This commit is contained in:
parent
c7bb475c61
commit
77c96fd349
|
@ -145,14 +145,6 @@ class Pry
|
|||
pry_instance.repl(head)
|
||||
end
|
||||
|
||||
# @return [Array<String>] return rc files with expanded path.
|
||||
def self.rc_files
|
||||
RC_FILES.collect do |file_name|
|
||||
full_name = File.expand_path(file_name)
|
||||
File.expand_path(file_name) if File.exists?(full_name)
|
||||
end.uniq.compact
|
||||
end
|
||||
|
||||
# Execute the file through the REPL loop, non-interactively.
|
||||
# @param [String] file_name File name to load through the REPL.
|
||||
def self.load_file_through_repl(file_name)
|
||||
|
|
|
@ -517,7 +517,6 @@ class Pry
|
|||
begin
|
||||
yield
|
||||
rescue EOFError
|
||||
old_input = self.input
|
||||
if input_stack.empty?
|
||||
self.input = Pry.config.input
|
||||
if !should_retry
|
||||
|
@ -529,7 +528,6 @@ class Pry
|
|||
self.input = input_stack.pop
|
||||
end
|
||||
|
||||
exec_hook :input_object_changed, old_input, self.input, self
|
||||
retry
|
||||
|
||||
# Interrupts are handled in r() because they need to tweak eval_string
|
||||
|
|
Loading…
Reference in New Issue