Exception: ControllerPolicies::AbilityMethodUnimplementedError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ControllerPolicies::AbilityMethodUnimplementedError
- Defined in:
- lib/controller_policies.rb
Overview
Exception raised for unimplemented ability? method for those including ControllerPolicies::Enforcement.
Instance Method Summary collapse
-
#initialize(_msg) ⇒ AbilityMethodUnimplementedError
constructor
A new instance of AbilityMethodUnimplementedError.
Constructor Details
#initialize(_msg) ⇒ AbilityMethodUnimplementedError
Returns a new instance of AbilityMethodUnimplementedError.
13 14 15 |
# File 'lib/controller_policies.rb', line 13 def initialize(_msg) super('`ability?(ability_code)` method is not implemented') end |