fix the warning message and failed test on ruby 2.6 and 2.7
fix the warning message and failed test on ruby 2.6 and 2.7

fix the following warning message to not show

```
warning: instance variable @pattern not initialized
```

closes #5

ma2gedev/chrono_logger