Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
# scaling w, h = imagesize(path) ow, oh = opts[:width], opts[:height] if ow && !oh opts[:height] = (ow.is_a? Float) ? ow : (ow * h/w.to_f).to_i elsif oh && !ow opts[:width] = (oh.is_a? Float) ? oh : (oh * w/h.to_f).to_i end
This paste will be private.
From the Design Piracy series on my blog: