From dd1cf6b064489c159445ede4315ae076660634f7 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Fri, 28 Dec 2012 17:22:41 -0800 Subject: [PATCH] Remove unused method --- lib/pry/history.rb | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/pry/history.rb b/lib/pry/history.rb index f8d0020e..059d7d49 100644 --- a/lib/pry/history.rb +++ b/lib/pry/history.rb @@ -82,15 +82,6 @@ class Pry end end - # The default saver. Appends the given lines to `Pry.history.config.file`. - # @param [Array] lines - def write_to_file(lines) - if write_to_history? - history_file.close - @history_file = nil - end - end - # The default pusher. Appends the given line to Readline::HISTORY. # @param [String] line def push_to_readline(line)