There's no documentation for this item.
# File action_mailer/vendor/tmail-1.1.0/tmail/mailbox.rb, line 39 def sort_by map {|i| [yield(i), i] }.sort {|a,b| a.first <=> b.first }.map {|i| i[1] } end
<code/>
<pre/>
<code/>and<pre/>for code samples.