Exception: DeclarativeAuthorization::Test::Helpers::InvalidParamsBlockArity
- Inherits:
-
StandardError
- Object
- StandardError
- DeclarativeAuthorization::Test::Helpers::InvalidParamsBlockArity
- Defined in:
- lib/declarative_authorization/test/helpers.rb
Instance Method Summary collapse
-
#initialize(params_block_name, params_block_arity, max_arity) ⇒ InvalidParamsBlockArity
constructor
A new instance of InvalidParamsBlockArity.
Constructor Details
#initialize(params_block_name, params_block_arity, max_arity) ⇒ InvalidParamsBlockArity
Returns a new instance of InvalidParamsBlockArity.
10 11 12 13 |
# File 'lib/declarative_authorization/test/helpers.rb', line 10 def initialize(params_block_name, params_block_arity, max_arity) = "Params block '#{params_block_name}' has arity of #{params_block_arity}. Max params block arity is #{max_arity}." super() end |