Use more-idiomatic Ruby
Use more-idiomatic Ruby

* Use an Enumerable method that returns a boolean instead of `.index`
* Use a question mark for values that return true/false
* Use `if condition` instead of `unless condition`
* Use `reject` instead of `delete_if` to avoid mutation. Mutation would actually be fine
  here, but it's nice to avoid it, and `delete_if` is used rarely in Ruby.

makingspace/liftoff,makingspace/liftoff,IntrepidPursuits/homebrew-liftoff,fhchina/liftoff,liftoffcli/liftoff,fousa/liftoff,makingspace/liftoff,fhchina/liftoff,IntrepidPursuits/homebrew-liftoff,IntrepidPursuits/homebrew-liftoff,liftoffcli/liftoff,fousa/liftoff,fousa/liftoff,liftoffcli/liftoff,fhchina/liftoff