class Byebug::SetCommand
def get_onoff(arg, default)
def get_onoff(arg, default) return default if arg.nil? case arg when '1', 'on', 'true' true when '0', 'off', 'false' false else [nil, "Expecting 'on', 1, true, 'off', 0, false. Got: #{arg}.\n"] end end