Class: Duraflame::Message
- Inherits:
-
Object
- Object
- Duraflame::Message
- Defined in:
- lib/duraflame/message.rb
Overview
Converts a timestamp, user_id and possible body into irssi log format
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(timestamp, user_id, body) ⇒ Message
constructor
A new instance of Message.
Constructor Details
#initialize(timestamp, user_id, body) ⇒ Message
Returns a new instance of Message.
4 5 6 7 8 |
# File 'lib/duraflame/message.rb', line 4 def initialize(, user_id, body) @timestamp = @user_id = user_id @body = body end |