Sha256: 95dc4231be65f55702723756c1e1e1513451496dfd42e08e8c1d08decb88a4bf

Contents?: true

Size: 283 Bytes

Versions: 2

Compression:

Stored size: 283 Bytes

Contents

# -*- coding: binary -*-
module Rex
module MIME
class Part

	require 'rex/mime/header'
	
	attr_accessor :header, :content

	def initialize
		self.header = Rex::MIME::Header.new
		self.content = ''
	end

	def to_s
		self.header.to_s + "\r\n" + self.content + "\r\n"
	end

end
end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
librex-0.0.68 lib/rex/mime/part.rb
librex-0.0.66 lib/rex/mime/part.rb