class Hurley::Multipart::EpiloguePart

Represents the epilogue or closing boundary.

Attributes

length[R]

Public Class Methods

new(boundary) click to toggle source
# File lib/hurley/multipart.rb, line 170
def initialize(boundary)
  @part = "--#{boundary}--\r\n\r\n"
  @io = StringIO.new(@part)
  @length = @part.bytesize
end