Revised Ranger, does ‘whirlwind attack’ count as an attack action for the extra attack feature?

Some classes don’t have the Ritual Casting feature, can those classes still cast rituals?