Construct A Constant From A String
Last updated
Was this helpful?
Last updated
Was this helpful?
Ruby's can be used to look for and retrieve the constant for a given name.
This can be used to construct a class name
It can also be used to reference a constant
You can even be more specific if you'd like
Symbols are valid as well