Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
## sass.rb template = %q{ body :background url(/images/<%= @file %>.jpg) }.gsub(/^ /){} ## makesass.rb require 'erb' ['f1','f2','f3'].each do |it| @file = it f = File.read("sass.rb") sass = File.new("#{it}.sass","w+") sass.puts ERB.new(eval(f)).result end
This paste will be private.
From the Design Piracy series on my blog: