Skip to content

Instantly share code, notes, and snippets.

@boc-tothefuture
Created November 7, 2020 21:40
Show Gist options
  • Save boc-tothefuture/cdfa440e9fa59132f256fa1d64a95401 to your computer and use it in GitHub Desktop.
Save boc-tothefuture/cdfa440e9fa59132f256fa1d64a95401 to your computer and use it in GitHub Desktop.
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