A little more idiomatic to say

``` ruby
unless level.nil? || level == @level
```