Skip to content

Instantly share code, notes, and snippets.

@NRBPerdijk
Last active April 30, 2019 13:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NRBPerdijk/badcd84759c7bf7154c3303d56cf19c0 to your computer and use it in GitHub Desktop.
Save NRBPerdijk/badcd84759c7bf7154c3303d56cf19c0 to your computer and use it in GitHub Desktop.
/*
* Exposing bindings is an interesting way to share functionality between languages.
* This command makes an instance of the Domain class available under the "Domain"
* accessor.
*/
context.getBindings("R").putMember("Domain", new Domain)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment