Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
irb(main):019:0> c = URI.parse("ftp://anonymous@ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.bz2;type=i") => #<URI::FTP:0x1dae48 URL:ftp://anonymous@ruby-lang.org/pub/ruby/1.8/ruby-1.8.6.tar.bz2;type=i> irb(main):020:0> c.path => "/pub/ruby/1.8/ruby-1.8.6.tar.bz2" irb(main):021:0> d = URI.parse("ftp://ftp.example.com/%2Fpub/ruby")=> #<URI::FTP:0x1d8594 URL:ftp://ftp.example.com/%2Fpub/ruby> irb(main):022:0> d.path => "/%2Fpub/ruby" irb(main):023:0>
This paste will be private.
From the Design Piracy series on my blog: