I guess you can just do:

```ruby
if client.platform !~ /win/
```