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_all, #initialize, #integer?, settings, #to_sym

Constructor Details

This class inherits a constructor from Byebug::Setting

Instance Method Details



12
13
14
# File 'lib/byebug/settings/width.rb', line 12

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

#to_sObject



16
17
18
# File 'lib/byebug/settings/width.rb', line 16

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