--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "file_or_files<File, Array[File]>:"
    body: File(s) to attach.
  type: :NOTE
- !ruby/struct:SM::Flow::P 
  body: "filename&lt;String&gt;::"
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "type<~to_s>:"
    body: The attachment MIME type. If left out, it will be determined from file_or_files.
  - !ruby/struct:SM::Flow::LI 
    label: "headers<String, Array>:"
    body: Additional attachment headers.
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Raises
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "ArgumentError:"
    body: file_or_files was not a File or an Array of File instances.
  type: :NOTE
full_name: Merb::Mailer#attach
is_singleton: false
name: attach
params: "(file_or_files, filename = file_or_files.is_a?(File) ? File.basename(file_or_files.path) : nil, type = nil, headers = nil)"
visibility: public
