ruby module and class confusion
===

I'm learning ruby and I'm trying to figure out what is meant by the following definition:

    class Rectangle::Square < Shape
So I am aware that Square is a subclass of Shape, but why the scope resolution operator? 
This is usually used to access classes and constants from a module in ruby, but here there is the class definition, so how could it already be located inside a module? thank you. 