method

deep_const_get

v2_5_5 - Show latest stable - Class: JSON
deep_const_get(path)
public

Return the constant located at path. The format of path has to be either ::A::B::C or A::B::C. In any case, A has to be located at the top level (absolute namespace path?). If there doesn’t exist a constant at the given path, an ArgumentError is raised.