in ruby usually is used `unless` instead of `if !` for trailing form - see https://github.com/SUSE/style-guides/blob/master/Ruby.md