method

attribute

attribute(*names)
public

Declares one or more attributes that will be given both class and instance accessor methods.