How would I get a list of global constants in a rails app (like ENV)? Something like:
>constants
I looked through
> puts methods
but didn't see anything that jumped out at me but I suspsect that there was something there.
thx in advance
Module.constants
may help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With