Class: Multipart::Post::Parts::EpiloguePart
- Inherits:
-
Object
- Object
- Multipart::Post::Parts::EpiloguePart
- Includes:
- Part
- Defined in:
- lib/multipart/post/parts.rb
Overview
Represents the epilogue or closing boundary.
Instance Method Summary collapse
-
#initialize(boundary) ⇒ EpiloguePart
constructor
A new instance of EpiloguePart.
Methods included from Part
Constructor Details
#initialize(boundary) ⇒ EpiloguePart
Returns a new instance of EpiloguePart.
142 143 144 145 |
# File 'lib/multipart/post/parts.rb', line 142 def initialize(boundary) @part = String.new("--#{boundary}--\r\n") @io = StringIO.new(@part) end |