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?, find, #help, help_all, #initialize, #integer?, settings, #to_sym
Constructor Details
This class inherits a constructor from Byebug::Setting
Instance Method Details
#banner ⇒ Object
11 12 13 |
# File 'lib/byebug/settings/listsize.rb', line 11 def 'Set number of source lines to list by default' end |
#to_s ⇒ Object
15 16 17 |
# File 'lib/byebug/settings/listsize.rb', line 15 def to_s "Number of source lines to list is #{value}\n" end |