Add newlines after block-like elements

It’s a core method… [String#end_with?](http://www.ruby-doc.org/core-2.2.0/String.html#method-i-end_with-3F).