In the case given below,
the initialize
method takes one argument:
While calling the new
method,
we can pass the value hot.
We can also tell Ruby that if no
value is passed, then take hot
as the default value.
Now, when we are not providing
any value, then hot becomes
the default value.
On the other hand, if we did provide a value,
then that value would
override the default value.