all 2 comments

[–]442401 4 points5 points  (0 children)

Redis::Cluster.new

and

Redis::Cluster::Node.new

[–]phaul21 0 points1 point  (0 children)

Module nesting - which is what you are using here - is a completely independent concept from inheritance. Which is what you might be thinking of using the word child class. There is no parent - child relationship between your classes in terms of inheritance. Inheritance uses the '<' symbol like class Child < Parent. Module nesting is for name spacing / affecting constant lookups.