Class: Net::IRC::CTCPTime
Constant Summary
Constants inherited from CTCP
Instance Attribute Summary collapse
-
#time ⇒ Object
Returns the value of attribute time.
Attributes inherited from CTCP
#keyword, #parameters, #source, #target
Instance Method Summary collapse
-
#initialize(*parameters) ⇒ CTCPTime
constructor
A new instance of CTCPTime.
Methods inherited from CTCP
Constructor Details
#initialize(*parameters) ⇒ CTCPTime
Returns a new instance of CTCPTime.
121 122 123 124 125 |
# File 'lib/net/irc.rb', line 121 def initialize(*parameters) @time = parameters.join(' ') super('TIME', *parameters) end |
Instance Attribute Details
#time ⇒ Object
Returns the value of attribute time.
120 121 122 |
# File 'lib/net/irc.rb', line 120 def time @time end |