What is attr?

In Ruby, what is the use of “attr”?

Thanks.