Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tips on reaching objects #17

Open
gazialankus opened this issue Mar 6, 2018 · 1 comment
Open

Tips on reaching objects #17

gazialankus opened this issue Mar 6, 2018 · 1 comment

Comments

@gazialankus
Copy link

Could you provide some tips on how we can reach our objects? I guess we only have the app object. Some scenarios that come to mind are to derive my own application object with fields, or use static fields in my classes. If there is a simpler option, I would love to learn about it.

Thank you for this great tool.

@jasonwyatt
Copy link
Owner

Thanks for using it!

You can include startup commands or scripts to load at startup, and those scripts can load objects into the REPL scope for you... though you'll need some way of accessing them via either Static methods (for stuff like singletons) or through the App class itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants