in ruby, :: namespaces module and class. But I often see :: at the beginning of the class name, as shown below:
#snippet of gollum gem def page_class @page_class || if superclass.respond_to?(:page_class) superclass.page_class else ::Gollum::Page end end
What does it mean :: means if it is at the beginning?
source share