Class: DRb::DRbSSHLocalClient
- Inherits:
-
DRbSSHClient
- Object
- DRbSSHClient
- DRb::DRbSSHLocalClient
- Defined in:
- lib/drbssh.rb
Overview
DRbSSH client used to contact local objects - used on remote side.
Instance Attribute Summary
Attributes inherited from DRbSSHClient
#read_fd, #receiveq, #sendq, #write_fd
Instance Method Summary collapse
-
#close ⇒ Object
Kill Ruby if client is asked to close.
-
#initialize(server) ⇒ DRbSSHLocalClient
constructor
Use stdin/stdout to talk with the local side of an SSH-connection.
Methods inherited from DRbSSHClient
#alive?, #recv_reply, #send_request
Constructor Details
#initialize(server) ⇒ DRbSSHLocalClient
Use stdin/stdout to talk with the local side of an SSH-connection.
153 154 155 156 157 |
# File 'lib/drbssh.rb', line 153 def initialize(server) @read_fd, @write_fd = $stdin, $stdout super(server) end |
Instance Method Details
#close ⇒ Object
Kill Ruby if client is asked to close.
160 161 162 |
# File 'lib/drbssh.rb', line 160 def close Kernel.exit 0 end |