Sha256: 86acff5e88a215d821818e9c7de690eb574a6e9ac966832473519f2125431344
Contents?: true
Size: 476 Bytes
Versions: 12
Compression:
Stored size: 476 Bytes
Contents
# frozen_string_literal: true require "byebug/setting" require "byebug/commands/irb" module Byebug # # Setting for automatically invoking IRB on every stop. # class AutoirbSetting < Setting DEFAULT = 0 def initialize IrbCommand.always_run = DEFAULT end def banner "Invoke IRB on every stop" end def value=(val) IrbCommand.always_run = val ? 1 : 0 end def value IrbCommand.always_run == 1 end end end
Version data entries
12 entries across 12 versions & 7 rubygems