Permalink
Browse files

fix comment alignment

  • Loading branch information...
1 parent 162bf8f commit 7194b393a611727fb36e8f586910e75db1bae746 @vijaydev vijaydev committed May 7, 2011
Showing with 2 additions and 3 deletions.
  1. +2 −3 activesupport/lib/active_support/core_ext/array/uniq_by.rb
@@ -1,8 +1,7 @@
class Array
- # Return an unique array based on the criteria given as a proc.
+ # Returns an unique array based on the criteria given as a +Proc+.
#
- # [1, 2, 3, 4].uniq_by { |i| i.odd? }
- # # => [1, 2]
+ # [1, 2, 3, 4].uniq_by { |i| i.odd? } # => [1, 2]
#
def uniq_by
hash, array = {}, []

0 comments on commit 7194b39

Please sign in to comment.