# File lib/action_mailer/collector.rb, line 16 16: def any(*args, &block) 17: options = args.extract_options! 18: raise "You have to supply at least one format" if args.empty? 19: args.each { |type| send(type, options.dup, &block) } 20: end
# File lib/action_mailer/collector.rb, line 23 23: def custom(mime, options={}) 24: options.reverse_merge!(:content_type => mime.to_s) 25: @context.freeze_formats([mime.to_sym]) 26: options[:body] = block_given? ? yield : @default_render.call 27: @responses << options 28: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.