class Byebug::Printers::Plain
def print_variables(variables, *_unused)
def print_variables(variables, *_unused) print_collection("variable.variable", variables) do |(key, value), _| value = value.nil? ? "nil" : value.to_s if "#{key} = #{value}".size > Setting[:width] key_size = "#{key} = ".size value = value[0..Setting[:width] - key_size - 4] + "..." end { key: key, value: value } end end