class Policy
  attr_reader :user, :role

  def initialize(user, role, object)
    @user = user
    @role = role

    unless object.is_a?(Symbol)
      instance_variable_set('@' + object.class.to_s.underscore, object)
    end
  end
end

class Policy
  attr_reader :current_user, :current_role

  def initialize(current_user, current_role, object)
    @current_user = current_user
    @current_role = current_role

    unless object.is_a?(Symbol)
      instance_variable_set('@' + object.class.to_s.underscore, object)
    end
  end
end

Change user to current_user and role to current_role
Change user to current_user and role to current_role
