Skip to content

Commit

Permalink
fix Array#uniq_by! docs [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Rodriguez committed Apr 5, 2013
1 parent e946c58 commit f8dbe4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activesupport/lib/active_support/core_ext/array/uniq_by.rb
@@ -1,5 +1,5 @@
class Array class Array
# *DEPRECATED*: Use +Array#uniq+ instead. # *DEPRECATED*: Use <tt>Array#uniq</tt> instead.
# #
# Returns a unique array based on the criteria in the block. # Returns a unique array based on the criteria in the block.
# #
Expand All @@ -9,7 +9,7 @@ def uniq_by(&block)
uniq(&block) uniq(&block)
end end


# *DEPRECATED*: Use +Array#uniq!+ instead. # *DEPRECATED*: Use <tt>Array#uniq!</tt> instead.
# #
# Same as +uniq_by+, but modifies +self+. # Same as +uniq_by+, but modifies +self+.
def uniq_by!(&block) def uniq_by!(&block)
Expand Down

0 comments on commit f8dbe4c

Please sign in to comment.