Use || instead of "or"
Improve code based on rubocop tips