Sha256: 822bd5eb1e62759700e8ac2dbea191412220cd02b5642e1a6b04c35c4b20b2e1

Contents?: true

Size: 371 Bytes

Versions: 10

Compression:

Stored size: 371 Bytes

Contents

require 'byebug/state'

module Byebug
  #
  # Controls state of Byebug's REPL when in control mode
  #
  class ControlState < State
    def proceed
    end

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

    def confirm(*_args)
      'y'
    end

    def context
      nil
    end

    def file
      errmsg 'No filename given.'
    end
  end
end

Version data entries

10 entries across 9 versions & 3 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/byebug-4.0.5/lib/byebug/states/control_state.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/byebug-4.0.5/lib/byebug/states/control_state.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/byebug-5.0.0/lib/byebug/states/control_state.rb
byebug-5.0.0 lib/byebug/states/control_state.rb
byebug-4.0.5 lib/byebug/states/control_state.rb
byebug-4.0.4 lib/byebug/states/control_state.rb
byebug-4.0.3 lib/byebug/states/control_state.rb
byebug-4.0.2 lib/byebug/states/control_state.rb
byebug-4.0.1 lib/byebug/states/control_state.rb
byebug-4.0.0 lib/byebug/states/control_state.rb