class Pry::Command::Hist

def process_replay

def process_replay
  @history = @history.between(opts[:r])
  replay_sequence = @history.raw
  # If we met follow-up "hist" call, check for the "--replay" option
  # presence. If "hist" command is called with other options, proceed
  # further.
  check_for_juxtaposed_replay(replay_sequence)
  replay_sequence.lines.each do |line|
    pry_instance.eval line, generated: true
  end
end