Skip to content

Commit

Permalink
- Added clarity to documentation of ArrayInquirer#any? [ci skip]
Browse files Browse the repository at this point in the history
- Added clarity to documentation of ArrayInquirer#any? [ci skip]

- Added clarity to documentation of ArrayInquirer#any? [ci skip]
  • Loading branch information
mohitnatoo committed May 11, 2016
1 parent 733161d commit a2959ab
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions activesupport/lib/active_support/array_inquirer.rb
Expand Up @@ -9,8 +9,10 @@ module ActiveSupport
# variants.desktop? # => false
class ArrayInquirer < Array
# Passes each element of +candidates+ collection to ArrayInquirer collection.
# The method returns true if at least one element is the same. If +candidates+
# collection is not given, method returns true.
# The method returns true if any element from the ArrayInquirer collection
# is equal to the stringified or symbolized form of any element in the +candidates+ collection.
#
# If +candidates+ collection is not given, method returns true.
#
# variants = ActiveSupport::ArrayInquirer.new([:phone, :tablet])
#
Expand Down

0 comments on commit a2959ab

Please sign in to comment.