Hey everyperson, I just noticed that the change Allan made isn't quite accurate to the syntax of =begin and =end. Ruby only checks that the start of the line matches; any characters after the 'n' in =begin are considered part of the embedded document, and anything after =end is considered Ruby code. Thus, it should be "^=begin" and "^=end".
Thanks, Harrison
Simion Ruderich wrote:
Allan Odgaard wrote:
Sorry, this wasn't clear from my message, but I did not checkin this change, I just tested that it would work -- I wasn't sure if folding on these keywords would generally be good.
Here is the patch for the change I did, I may check it in later:
I noticed you committed the change to the repository. Thanks for this, Simon