I have seen a lot usage of double colons in Rails before class names.
For example:
require ::File.expand_path('../config/environment', __FILE__)
I know what Module::Class::Constant
means, but ::Class
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…