Module: Minestrone::SSH::Server
- Defined in:
- lib/minestrone/ssh.rb
Overview
Patch an accessor onto an SSH connection so that we can record the server definition object that defines the connection.
Instance Attribute Summary collapse
-
#xserver ⇒ Object
Returns the value of attribute xserver.
Class Method Summary collapse
Instance Attribute Details
#xserver ⇒ Object
Returns the value of attribute xserver.
20 21 22 |
# File 'lib/minestrone/ssh.rb', line 20 def xserver @xserver end |
Class Method Details
.apply_to(connection, server) ⇒ Object
:nodoc:
14 15 16 17 18 |
# File 'lib/minestrone/ssh.rb', line 14 def self.apply_to(connection, server) connection.extend(Server) connection.xserver = server connection end |