Method: CampfireChat::Message#initialize
- Defined in:
- lib/campfire_chat/message.rb
#initialize(raw_message) ⇒ Message
Returns a new instance of Message.
4 5 6 7 8 |
# File 'lib/campfire_chat/message.rb', line 4 def initialize() @author = .user.name @body = .body @id = .id end |