Method: ApplicationPolicy#new?

Defined in:
lib/generators/pundit/install/templates/application_policy.rb

#new?Boolean

Returns:

  • (Boolean)

21
22
23
# File 'lib/generators/pundit/install/templates/application_policy.rb', line 21

def new?
  create?
end