Check out example codes for "ruby call class constant". It will help you in understanding the concepts better.

Code Example 1

class Foo
  CONSTANT_NAME = ["a", "b", "c"]
end

Foo::CONSTANT_NAME
# => ["a", "b", "c"]

Learn ReactJs, React Native from akashmittal.com