ri > ActiveSupport::ArrayInquirer

= ActiveSupport::ArrayInquirer < Array

(from /home/chedong/.local/share/rdoc)
------------------------------------------------------------------------
Wrapping an array in an ArrayInquirer gives a friendlier way to check
its string-like contents:

  variants = ActiveSupport::ArrayInquirer.new([:phone, :tablet])

  variants.phone?    # => true
  variants.tablet?   # => true
  variants.desktop?  # => false
------------------------------------------------------------------------
= Instance methods:

  any?

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 12:48 @216.73.217.111
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!