method
attribute
v5.2.3 -
Show latest stable
- Class:
ActiveSupport::CurrentAttributes
attribute(*names)public
Declares one or more attributes that will be given both class and instance accessor methods.
attribute(*names)Declares one or more attributes that will be given both class and instance accessor methods.