Class: Byebug::ListsizeSetting

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

Constant Summary collapse

DEFAULT =
10

Instance Attribute Summary

Attributes inherited from Setting

#value

Instance Method Summary collapse

Methods inherited from Setting

[], []=, boolean?, #boolean?, exists?, find, format, #initialize, integer?, #integer?, load, settings, #to_sym

Constructor Details

This class inherits a constructor from Byebug::Setting

Instance Method Details

#helpObject



5
6
7
# File 'lib/byebug/settings/listsize.rb', line 5

def help
  'Set number of source lines to list by default'
end

#to_sObject



9
10
11
# File 'lib/byebug/settings/listsize.rb', line 9

def to_s
  "Number of source lines to list is #{value}\n"
end