Papillary thyroid cancer (also sometimes called papillary thyroid carcinoma) is the most common type of thyroid cancer. You may have even heard your doctor talk about metastatic papillary thyroid cancer (metastatic means that it has spread beyond your thyroid gland).
Classes can have special methods called constructors. A constructor is a method that is automatically called when an object is created. Constructors are used to perform operations at the time an object is created. Constructors typically initialize instance fields and perform other object initialization tasks.
Creating Objects in Ruby using new Method: Objects are instances of the class. You will now learn how to create objects of a class in Ruby. You can create objects in Ruby by using the method new of the class. The method new is a unique type of method, which is predefined in the Ruby library. The new method belongs to the class methods. Here is the example to create two objects cust1 and cust2 of the class Customer: Here, cust1 and cust2 are the names of two objects.