Method: ActionPolicy::NotFound#initialize
- Defined in:
- lib/action_policy.rb
#initialize(target) ⇒ NotFound
Returns a new instance of NotFound.
14 15 16 17 |
# File 'lib/action_policy.rb', line 14 def initialize(target) @target = target @message = "Couldn't find policy class for #{target.inspect}" end |