Class: Byebug::AutoevalSetting
Constant Summary
collapse
- DEFAULT =
true
Instance Method Summary
collapse
Methods inherited from Setting
[], []=, #boolean?, boolean?, exists?, find, format, #integer?, integer?, load, settings, #to_s, #to_sym
Constructor Details
Returns a new instance of AutoevalSetting.
Instance Method Details
#help ⇒ Object
9
10
11
12
|
# File 'lib/byebug/settings/autoeval.rb', line 9
def help
'If true, byebug will evaluate every unrecognized command. If false, ' \
'need to use the `eval` command to evaluate stuff'
end
|
#value ⇒ Object
18
19
20
|
# File 'lib/byebug/settings/autoeval.rb', line 18
def value
EvalCommand.unknown
end
|
#value=(v) ⇒ Object
14
15
16
|
# File 'lib/byebug/settings/autoeval.rb', line 14
def value=(v)
EvalCommand.unknown = v
end
|