method
attribute
v6.0.0 -
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.