Class: Net::IRC::Privmsg
Overview
PRIVMSG <target> <text>
Constant Summary
Constants inherited from Message
Instance Attribute Summary collapse
-
#ctcp ⇒ Object
Returns the value of attribute ctcp.
-
#target ⇒ Object
Returns the value of attribute target.
-
#text ⇒ Object
Returns the value of attribute text.
Attributes inherited from Message
#command, #parameters, #prefix
Instance Method Summary collapse
-
#initialize(target, text) ⇒ Privmsg
constructor
A new instance of Privmsg.
Methods inherited from Message
command_for_number, parse, #prefix?, #to_s, #write
Constructor Details
Instance Attribute Details
#ctcp ⇒ Object
Returns the value of attribute ctcp.
600 601 602 |
# File 'lib/net/irc.rb', line 600 def ctcp @ctcp end |
#target ⇒ Object
Returns the value of attribute target.
600 601 602 |
# File 'lib/net/irc.rb', line 600 def target @target end |
#text ⇒ Object
Returns the value of attribute text.
600 601 602 |
# File 'lib/net/irc.rb', line 600 def text @text end |