Class: Byebug::ListsizeSetting
- Defined in:
- lib/byebug/settings/listsize.rb
Overview
Setting to customize the number of source code lines to be displayed every time the “list” command is invoked.
Constant Summary collapse
- DEFAULT =
10
Instance Attribute Summary
Attributes inherited from Setting
Instance Method Summary collapse
Methods inherited from Setting
[], []=, boolean?, #boolean?, exists?, find, #help, help, help_all, #initialize, integer?, #integer?, load, settings, #to_sym
Constructor Details
This class inherits a constructor from Byebug::Setting
Instance Method Details
#banner ⇒ Object
9 10 11 |
# File 'lib/byebug/settings/listsize.rb', line 9 def 'Set number of source lines to list by default' end |
#to_s ⇒ Object
13 14 15 |
# File 'lib/byebug/settings/listsize.rb', line 13 def to_s "Number of source lines to list is #{value}\n" end |