tpope/vim-surround — pull request #89 by dhruvasagar (2013-03-08 09:29:47+00:00)
Title: Added support to surround Ruby Blocks if, class, module, while, for, etc...

Use 'R' or '' to trigger addition of a ruby block around the
selected object either in visual mode or while using with ys commands.

TODO: Need to add support to allow deletion (via ds) of a ruby block.