deivid-rodriguez/byebug

View on GitHub
lib/byebug/processors/post_mortem_processor.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

require_relative "command_processor"

module Byebug
  #
  # Processes commands in post_mortem mode
  #
  class PostMortemProcessor < CommandProcessor
    def commands
      super.select(&:allow_in_post_mortem)
    end

    def prompt
      "(byebug:post_mortem) "
    end
  end
end