Can anyone explain the use of instance_eval and provide the example?

Google “instance_eval” first results in the list:

Best regards

Peter De Berdt

The third links is fruitful.

Can one one simplify it more?

I think, it is used to include a variable in the instance which is not
originally available in the class.