RubyPipe allows you to pipe selected text in Sublime Text 2 or 3 through Ruby