Module: Byebug::SteppingFunctions

Defined in:
lib/byebug/commands/stepping.rb

Overview

Mixin to assist command parsing

Instance Method Summary collapse

Instance Method Details

#parse_force(str) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/byebug/commands/stepping.rb', line 6

def parse_force(str)
  return Setting[:forcestep] unless str

  case str
  when '+' then
    true
  when '-' then
    false
  end
end