Class: Byebug::AutoevalSetting
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.
3
4
5
|
# File 'lib/byebug/settings/autoeval.rb', line 3
def initialize
EvalCommand.unknown = true
end
|
Instance Method Details
#help ⇒ Object
7
8
9
10
|
# File 'lib/byebug/settings/autoeval.rb', line 7
def help
'If true, byebug will evaluate every unrecognized command. If false, ' \
'need to use the `eval` command to evaluate stuff'
end
|
#value ⇒ Object
16
17
18
|
# File 'lib/byebug/settings/autoeval.rb', line 16
def value
EvalCommand.unknown
end
|
#value=(v) ⇒ Object
12
13
14
|
# File 'lib/byebug/settings/autoeval.rb', line 12
def value=(v)
EvalCommand.unknown = v
end
|