added context do end block for ruby filetype
added DoEndifyCurlyBraces function, and {| maps to {||}