Bug #6301 » irb_debug_level.patch
lib/irb/init.rb (working copy) | ||
---|---|---|
@CONF[:AT_EXIT] = []
|
||
@CONF[:DEBUG_LEVEL] = 1
|
||
@CONF[:DEBUG_LEVEL] = 0
|
||
end
|
||
def IRB.init_error
|
lib/irb/context.rb (working copy) | ||
---|---|---|
if @echo.nil?
|
||
@echo = true
|
||
end
|
||
@debug_level = IRB.conf[:DEBUG_LEVEL]
|
||
debug_level = IRB.conf[:DEBUG_LEVEL]
|
||
end
|
||
def main
|
||
... | ... | |
def debug_level=(value)
|
||
@debug_level = value
|
||
RubyLex.debug_level = value
|
||
SLex.debug_level = value
|
||
end
|
||
def debug?
|