def permitter(pclass = permitter_class)
      pinstance = (@permitter_class_to_permitter ||= {})[pclass]
      return pinstance if pinstance
      current_authorizer_method = ActionController::Permitter.current_authorizer_method ? ActionController::Permitter.current_authorizer_method.to_sym : nil
      @permitter_class_to_permitter[pclass] = pclass.new(params, defined?(current_user) ? current_user : nil, current_authorizer_method && defined?(current_authorizer_method) ? __send__(current_authorizer_method) : nil)
    end
def permitter(pclass = permitter_class)
      pinstance = (@permitter_class_to_permitter ||= {})[pclass]
      return pinstance if pinstance
      current_authorizer_method = ActionController::Permitter.current_authorizer_method ? ActionController::Permitter.current_authorizer_method.to_sym : nil
      @permitter_class_to_permitter[pclass] = pclass.new(params, defined?(current_user) ? current_user : nil, current_authorizer_method && defined?(current_authorizer_method) ? __send__(current_authorizer_method) : nil)
    end
Returns a new instance of the permitter by initializing it with params, current_user, current_ability.