concept constructor in category ruby

This is an excerpt from Manning's book The Well-Grounded Rubyist, Third Edition.
Object is a built-in Ruby class. When you use the dot notation on a class, you send a message to the class. Classes can respond to messages, just like objects; in fact, as you’ll have reason to be aware of in any number of situations, classes are objects. The new method is a constructor: a method whose purpose is to manufacture and return to you a new instance of the class, a newly minted object.
You can also provide a code block to the constructor, in which case every item in the collection object you supply is passed through the block (yielded to it) with the resulting value being inserted into the set. For example, here’s a way to initialize a set to a list of uppercased strings: