Sha256: f65a8f9e4cbd29f3f657641015e68f674a43588cf7874877437ddd3013d9d6d3

Contents?: true

Size: 428 Bytes

Versions: 6

Compression:

Stored size: 428 Bytes

Contents

require 'forwardable'

module Byebug
  class Processor
    attr_accessor :interface

    extend Forwardable
    def_delegators :@interface, :errmsg, :puts

    def initialize(interface)
      @interface = interface
    end

    def without_exceptions
      yield
    rescue
      nil
    end
  end
end

require 'byebug/command'
require 'byebug/processors/command_processor'
require 'byebug/processors/control_command_processor'

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
byebug-3.5.1 lib/byebug/processor.rb
byebug-3.5.0 lib/byebug/processor.rb
byebug-3.4.2 lib/byebug/processor.rb
byebug-3.4.1 lib/byebug/processor.rb
byebug-3.4.0 lib/byebug/processor.rb
byebug-3.3.0 lib/byebug/processor.rb