4 ms·
Is there a concept of namespace in Ruby? I did a quick search but I'm still not sure.
by steelaz 15y ago
Is there a concept of namespace in Ruby? I did a quick search but I'm still not sure.
- Confusion 15y agoCertainly: modules and classes serve as namespaces module Foo class Bar end end Bar is now only accessible as Foo::Bar. You could have a Baz::Bar class that is entirely separate from this Bar.