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



12
13
14
# File 'lib/byebug/settings/histsize.rb', line 12

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

#to_sObject



16
17
18
# File 'lib/byebug/settings/histsize.rb', line 16

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