Class: EventMachine::Ssh::ServerVersion
- Inherits:
-
Object
- Object
- EventMachine::Ssh::ServerVersion
- Includes:
- Log
- Defined in:
- lib/em-ssh/server-version.rb
Instance Attribute Summary collapse
-
#header ⇒ Object
readonly
Returns the value of attribute header.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(connection) ⇒ ServerVersion
constructor
A new instance of ServerVersion.
Methods included from Log
#debug, #error, #fatal, #info, #log, #warn
Constructor Details
#initialize(connection) ⇒ ServerVersion
Returns a new instance of ServerVersion.
9 10 11 12 |
# File 'lib/em-ssh/server-version.rb', line 9 def initialize(connection) debug("#{self}.new(#{connection})") negotiate!(connection) end |
Instance Attribute Details
#header ⇒ Object (readonly)
Returns the value of attribute header.
6 7 8 |
# File 'lib/em-ssh/server-version.rb', line 6 def header @header end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
7 8 9 |
# File 'lib/em-ssh/server-version.rb', line 7 def version @version end |