I don't talk of Wizards which clearly have an exception with their spell book to preparation and casting of rituals. In my specific situation I ask about a Cleric or Warlock with the Ritual Caster feat casting a ritual.
Would a Cleric or Warlock with no spell slots left for the day but originally prepared the ritual spell still be able to cast it as a ritual despite lacking spell slots for it?