Scott Haneda wrote:
Would you mind explaining how to do this in a bundle, I copied the first example above, and but a ruby shebang in a bundle command, set the scope to source.php. I get a lot of errors when I run it.
#! /usr/bin/env ruby puts STDIN.gets(nil).gsub(/\n\s*{/, " {")
Christopher