lib/byebug/settings/histsize.rb in byebug-3.2.0 vs lib/byebug/settings/histsize.rb in byebug-3.3.0
- old
+ new
@@ -1,11 +1,13 @@
module Byebug
+ #
+ # Setting to customize the number of byebug commands to be saved in history.
+ #
class HistsizeSetting < Setting
DEFAULT = 256
- def help
- "Customize maximum number of commands that can be stored in byebug's " \
- "history record. By default, #{DEFAULT}"
+ def banner
+ 'Maximum number of commands that can be stored in byebug history'
end
def to_s
"Maximum size of byebug's command history is #{value}"
end