Class: IRC::Server::Link
Constant Summary collapse
- @@callbacks =
{ }
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#listen ⇒ Object
readonly
Returns the value of attribute listen.
-
#server ⇒ Object
readonly
Returns the value of attribute server.
-
#socket ⇒ Object
readonly
Returns the value of attribute socket.
Instance Method Summary collapse
-
#initialize(server, socket, listen) ⇒ Link
constructor
A new instance of Link.
- #raw(text) ⇒ Object
- #send(type, *args) ⇒ Object
Constructor Details
#initialize(server, socket, listen) ⇒ Link
Returns a new instance of Link.
29 30 31 32 33 |
# File 'lib/failirc/server/link.rb', line 29 def initialize (server, socket, listen) @server = server @socket = socket @listen = listen end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
27 28 29 |
# File 'lib/failirc/server/link.rb', line 27 def host @host end |
#listen ⇒ Object (readonly)
Returns the value of attribute listen.
27 28 29 |
# File 'lib/failirc/server/link.rb', line 27 def listen @listen end |
#server ⇒ Object (readonly)
Returns the value of attribute server.
27 28 29 |
# File 'lib/failirc/server/link.rb', line 27 def server @server end |
#socket ⇒ Object (readonly)
Returns the value of attribute socket.
27 28 29 |
# File 'lib/failirc/server/link.rb', line 27 def socket @socket end |