remove unnecessary kruft i neglected to remove in last commit

This commit is contained in:
John Mair 2012-06-20 02:16:20 +12:00
parent c7bb475c61
commit 77c96fd349
2 changed files with 0 additions and 10 deletions

View File

@ -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)

View File

@ -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