module Byebug::Helpers::StringHelper
def deindent(str, leading_spaces: 6)
Removes a number of leading whitespace for each input line.
def deindent(str, leading_spaces: 6) str.gsub(/^ {#{leading_spaces}}/, "") end
def deindent(str, leading_spaces: 6) str.gsub(/^ {#{leading_spaces}}/, "") end