Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
#comparable operator <=> # natural ordering # 1 2 3 4... # a b c puts 1 <=> 1 puts 2 <=> 1 puts 1 <=> 2 p [2,3,1].sort puts puts "a" <=> "a" puts "b" <=> "a" puts "a" <=> "b" p ["c","b","a"].sort
From the Design Piracy series on my blog: