Class: Byebug::VerboseSetting

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

Overview

Setting to show verbose output about TracePoint API events.

Constant Summary

Constants inherited from Setting

Setting::DEFAULT

Instance Method Summary collapse

Methods inherited from Setting

[], []=, #boolean?, find, #help, help, help_all, #initialize, #integer?, settings, #to_s, #to_sym

Methods included from StringFunctions

#camelize, #prettify

Constructor Details

This class inherits a constructor from Byebug::Setting

Instance Method Details


8
9
10
# File 'lib/byebug/settings/verbose.rb', line 8

def banner
  'Enable verbose output of TracePoint API events'
end

#valueObject


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

def value
  Byebug.verbose?
end

#value=(v) ⇒ Object


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

def value=(v)
  Byebug.verbose = v
end