Method: ActiveSupport::ArrayInquirer#method_missing

Defined in:
lib/active_support/array_inquirer.rb

#method_missing(name, *args) ⇒ Object (private)



42
43
44
45
46
47
48
# File 'lib/active_support/array_inquirer.rb', line 42

def method_missing(name, *args)
  if name.end_with?("?")
    any?(name[0..-2])
  else
    super
  end
end