标签: ruby
Some class are defined using module to create namespace. I am wondering if Ruby has the mechanism like using to use the namespace?
in CSharp, we could
using ****
How to do it in Ruby?
答案 0 :(得分:3)
If you want namespaces you could use ruby's modules here you have documentation about that.
And here you'll find some examples to use as namespaces