Skip to main content
1 of 3
Value Ink
  • 12.6k
  • 1
  • 17
  • 42

#Ruby, 55 bytes

Try it online!

->a{%w"Blinky Inky Pinky Clyde"-(a.grep(/-/)==[]?a:[])}

Ruby arrays can undergo set subtraction, making it very easy to remove the appropriate ghosts.

Value Ink
  • 12.6k
  • 1
  • 17
  • 42