Construct A Constant From A String
Ruby's Module.const_get
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
Last updated