Class: Byebug::HistsizeSetting

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

Overview

Setting to customize the number of byebug commands to be saved in history.

Constant Summary collapse

DEFAULT =
256

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



10
11
12
# File 'lib/byebug/settings/histsize.rb', line 10

def banner
  'Maximum number of commands that can be stored in byebug history'
end

#to_sObject



14
15
16
# File 'lib/byebug/settings/histsize.rb', line 14

def to_s
  "Maximum size of byebug's command history is #{value}"
end