Skip to content

Instantly share code, notes, and snippets.

@boc-tothefuture
Created November 7, 2020 21:40
Importing into Context
def debug_variables()
pp "Instance #{instance_variables}"
pp "Global #{global_variables}"
pp "Load Path #{$LOAD_PATH}"
# pp "Constants #{Module.constants}"
end
puts "Checking for Automation manager: #{$automationManager.nil?}"
until $automationManager
puts "Automation manager not loaded: #{$automationManager.nil?}"
$scriptExtension.importPreset('RuleSupport')
$foo="bar"
debug_variables()
sleep 10
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment