Class: Byebug::ForcestepSetting

Inherits:
Setting
  • Object
show all
Defined in:
lib/byebug/settings/forcestep.rb

Overview

Setting to force changing lines when executing step or next commands.

Constant Summary

Constants inherited from Setting

Setting::DEFAULT

Instance Attribute Summary

Attributes inherited from Setting

#value

Instance Method Summary collapse

Methods inherited from Setting

[], []=, boolean?, #boolean?, exists?, find, #help, help, help_all, #initialize, integer?, #integer?, load, settings, #to_s, #to_sym

Constructor Details

This class inherits a constructor from Byebug::Setting

Instance Method Details



6
7
8
# File 'lib/byebug/settings/forcestep.rb', line 6

def banner
  'Force next/step commands to always move to a new line'
end


10
11
12
# File 'lib/byebug/settings/forcestep.rb', line 10

def print
  "forced-stepping is #{getter}"
end