Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
# Problem is fixed by hanging Array#include? from this: def include?(obj) @total.times { |i| return true if @tuple.at(@start + i) == obj } false end # to this: def include?(obj) found = false i = 0 while i < @total if @tuple.at(@start + i) == obj then found = true break end i += 1 end found end
This paste will be private.
From the Design Piracy series on my blog: