1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Remove unused method

This commit is contained in:
Conrad Irwin 2012-12-28 17:22:41 -08:00
parent 09160e7906
commit dd1cf6b064

View file

@ -82,15 +82,6 @@ class Pry
end
end
# The default saver. Appends the given lines to `Pry.history.config.file`.
# @param [Array<String>] 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)