Class: ModSpox::Messages::Outgoing::Squit
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Squit
- Defined in:
- lib/mod_spox/messages/outgoing/Squit.rb
Instance Attribute Summary collapse
-
#comment ⇒ Object
readonly
reasone for disconnection.
-
#server ⇒ Object
readonly
server to disconnect.
Instance Method Summary collapse
-
#initialize(server, comment) ⇒ Squit
constructor
- server
- server to disconnect comment
-
reason for disconnection Disconnect server link.
Constructor Details
#initialize(server, comment) ⇒ Squit
- server
-
server to disconnect
- comment
-
reason for disconnection
Disconnect server link. Only available if bot is oper.
12 13 14 15 |
# File 'lib/mod_spox/messages/outgoing/Squit.rb', line 12 def initialize(server, comment) @comment = comment @server = server end |
Instance Attribute Details
#comment ⇒ Object (readonly)
reasone for disconnection
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Squit.rb', line 8 def comment @comment end |
#server ⇒ Object (readonly)
server to disconnect
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Squit.rb', line 6 def server @server end |