Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
def instance_exec(*args, &prc) raise ArgumentError, "Missing block" unless block_given? env = prc.block.redirect_to self cm = env.method.dup cm.staticscope = StaticScope.new(metaclass, env.method.staticscope) env.method = cm env.call(*args) end
This paste will be private.
From the Design Piracy series on my blog: