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
13 14 15 |
# File 'lib/byebug/settings/listsize.rb', line 13 def "Set number of source lines to list by default" end |
#to_s ⇒ Object
17 18 19 |
# File 'lib/byebug/settings/listsize.rb', line 17 def to_s "Number of source lines to list is #{value}\n" end |