This can be simplified to:

``` ruby
message += "." unless unless message.end_with?(".")
```