Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
def initialize(options = {}) options.each do |param, value| method = param.to_s.downcase + "=" raise ArgumentError, "Invalid option %s" % param unless respond_to?(method) send(method, value) end end
This paste will be private.
From the Design Piracy series on my blog: