Class: Net::IRC::CTCPAction
Constant Summary
Constants inherited from CTCP
Instance Attribute Summary collapse
-
#text ⇒ Object
Returns the value of attribute text.
Attributes inherited from CTCP
#keyword, #parameters, #source, #target
Instance Method Summary collapse
-
#initialize(*parameters) ⇒ CTCPAction
constructor
A new instance of CTCPAction.
Methods inherited from CTCP
Constructor Details
#initialize(*parameters) ⇒ CTCPAction
Returns a new instance of CTCPAction.
106 107 108 109 110 |
# File 'lib/net/irc.rb', line 106 def initialize(*parameters) @text = parameters.join(' ') super('ACTION', *parameters) end |
Instance Attribute Details
#text ⇒ Object
Returns the value of attribute text.
104 105 106 |
# File 'lib/net/irc.rb', line 104 def text @text end |