instance method
any
Ruby on Rails 6.0.6
Since v3.0.20Signature
any(*args, &block)
No documentation comment.
Parameters
-
argsrest -
blockblock
Source
# File actionmailer/lib/action_mailer/collector.rb, line 18
def any(*args, &block)
options = args.extract_options!
raise ArgumentError, "You have to supply at least one format" if args.empty?
args.each { |type| send(type, options.dup, &block) }
end
Defined in actionmailer/lib/action_mailer/collector.rb line 18
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Collector