Class: Eml2Html::Attachment
- Inherits:
-
Object
- Object
- Eml2Html::Attachment
- Defined in:
- lib/eml2html/converter.rb
Instance Attribute Summary collapse
-
#cid ⇒ Object
readonly
Returns the value of attribute cid.
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(cid, name, content) ⇒ Attachment
constructor
A new instance of Attachment.
Constructor Details
#initialize(cid, name, content) ⇒ Attachment
Returns a new instance of Attachment.
7 8 9 |
# File 'lib/eml2html/converter.rb', line 7 def initialize(cid, name, content) @cid, @name, @content = cid, name, content end |
Instance Attribute Details
#cid ⇒ Object (readonly)
Returns the value of attribute cid.
6 7 8 |
# File 'lib/eml2html/converter.rb', line 6 def cid @cid end |
#content ⇒ Object (readonly)
Returns the value of attribute content.
6 7 8 |
# File 'lib/eml2html/converter.rb', line 6 def content @content end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/eml2html/converter.rb', line 6 def name @name end |