Class: Memories::Attachment
- Inherits:
-
Object
- Object
- Memories::Attachment
- Defined in:
- lib/memories/attachment.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(data) ⇒ Attachment
constructor
A new instance of Attachment.
- #read ⇒ Object
Constructor Details
#initialize(data) ⇒ Attachment
Returns a new instance of Attachment.
3 4 5 |
# File 'lib/memories/attachment.rb', line 3 def initialize(data) @data = data end |
Instance Method Details
#read ⇒ Object
7 |
# File 'lib/memories/attachment.rb', line 7 def read; @data; end |