You could get rid of the conditional and simply do `@block = block`.  If no block is passed then the `block` argument will be `nil`.