instance method
any
Ruby on Rails 3.0.20
Since v3.0.20Signature
any(*args, &block)
No documentation comment.
Parameters
-
argsrest -
blockblock
Source
# File actionmailer/lib/action_mailer/collector.rb, line 16
def any(*args, &block)
options = args.extract_options!
raise "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 16
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Collector