Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
rbx test_array.rb -n test_LSHIFT require 'test/unit/testcase' has been deprecated An exception has occurred: Coercion error: obj.to_int did NOT return a Fixnum (was Bignum) (TypeError) Backtrace: Type.coerce_to at kernel/core/kernel.rb:30 Array#first at kernel/core/array.rb:713 TestArray.__class_init__ {} at test_array.rb:1332 Enumerable(Array)#find {} at kernel/core/enumerable.rb:251 Array#each at kernel/core/array.rb:572 Enumerable(Array)#find at kernel/core/enumerable.rb:251 TestArray.__class_init__ (TestArray) at test_array.rb:1326 Object#__script__ at test_array.rb:3 CompiledMethod#as_script at kernel/core/compiled_method.rb:407 Compile.single_load at kernel/core/compile.rb:253 Compile.load_from_extension at kernel/core/compile.rb:326 Object#__script__ at kernel/loader.rb:277 Loaded suite test_array An error has occured: Segmentation fault (SIGSEGV) (11) Ruby backtrace: 0xb738d008 Hash#each_pair+0 in kernel/core/hash.rb:236 0x9a4ce34 Class#run_finalizers+19 in kernel/core/objectspace.rb:47 0x93e3104 <none>#<block>+12 in kernel/core/objectspace.rb:64 0x93e3164 <none>#<block>+22 in kernel/core/thread.rb:60 VM Registers: IP: 0000 SP: 0000 Exception: none [vvs@fedora:31] -- << /opt/work/ruby19-dev.git/test/ruby (ruby_1_9)>>
This paste will be private.
From the Design Piracy series on my blog: