Class: ModSpox::Messages::Outgoing::Raw

Inherits:
Object
  • Object
show all
Defined in:
lib/mod_spox/messages/outgoing/Raw.rb

Overview

Sends message to IRC server with no modification

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Raw

message

message to send

Creates new Raw message



10
11
12
# File 'lib/mod_spox/messages/outgoing/Raw.rb', line 10

def initialize(message)
    @message = message
end

Instance Attribute Details

#messageObject (readonly)

message to send



7
8
9
# File 'lib/mod_spox/messages/outgoing/Raw.rb', line 7

def message
  @message
end