Using "::" instead of "module ..." for Ruby namespacing

Viewed 3451

In Ruby, is there a difference between writing class Foo::Bar and module Foo; class Bar for namespacing? If so, what?

2 Answers
Related