Module: DEBUGGER__::GlobalVariablesHelper

Included in:
Session, ThreadClient
Defined in:
lib/debug/thread_client.rb

Constant Summary collapse

SKIP_GLOBAL_LIST =
%i[$= $KCODE $-K $SAFE].freeze

Instance Method Summary collapse

Instance Method Details

#safe_global_variablesObject



48
49
50
# File 'lib/debug/thread_client.rb', line 48

def safe_global_variables
  global_variables.reject{|name| SKIP_GLOBAL_LIST.include? name }
end