--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
- !ruby/object:RI::MethodSummary 
  name: write
comment: 
- !ruby/struct:SM::Flow::P 
  body: The RMail::Serialize class writes an RMail::Message object into an IO object or string. The result is a standard mail message in text form.
- !ruby/struct:SM::Flow::P 
  body: To do this, you pass the RMail::Message object to the RMail::Serialize object. RMail::Serialize can write into any object supporting the &lt;&lt; method.
- !ruby/struct:SM::Flow::P 
  body: "As a convenience, RMail::Serialize.write is a class method you can use directly:"
- !ruby/struct:SM::Flow::VERB 
  body: " # Write to a file\n File.open('my-message', 'w') { |f|\n   RMail::Serialize.write(f, message)\n }\n"
- !ruby/struct:SM::Flow::P 
  body: "# Write to a new string string = RMail::Serialize.write('', message)"
constants: []

full_name: RMail::Serialize
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: serialize
name: Serialize
superclass: Object
