calling constants as variables ruby] code example
Example 1: ruby constants
my_variable = 18 # simple ruby variable
MY_CONSTANT = 25 # ruby constant
Example 2: ruby call class constant
class Foo
CONSTANT_NAME = ["a", "b", "c"]
end
Foo::CONSTANT_NAME
# => ["a", "b", "c"]