HERE File.open(__FILE__.sub(/.rb$/, ''), "w") do |file| file.puts ERB.new(css, 0, '%<>').result end
HERE File.open(__FILE__.sub(/.rb$/, ''), "w") do |file| file.puts ERB.new(css, 0, '%<>').result end
Oops! Somehow I accidentally included the last 4 lines of the example twice in the last message. this should really just be there once...
Matthew