Class: Byebug::WidthSetting

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

Overview

Setting to customize the maximum width of byebug's output.

Constant Summary collapse

DEFAULT =
160

Instance Attribute Summary

Attributes inherited from Setting

#value

Instance Method Summary collapse

Methods inherited from Setting

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

Methods included from StringFunctions

#camelize, #prettify

Constructor Details

This class inherits a constructor from Byebug::Setting

Instance Method Details


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

def banner
  "Number of characters per line in byebug's output"
end

#to_sObject


14
15
16
# File 'lib/byebug/settings/width.rb', line 14

def to_s
  "Maximum width of byebug's output is #{value}"
end