Method: ApplicationPolicy#user
- Defined in:
- lib/generators/pundit/install/templates/application_policy.rb
#user ⇒ Object (readonly)
Returns the value of attribute user.
2 3 4 |
# File 'lib/generators/pundit/install/templates/application_policy.rb', line 2 def user @user end |