It is usually better to preserve the style of library (here webrick).
It seems most of blocks are written without a space between `{` and `|`.
But maybe @nahi can enlighten us.