Class: SSHKit::Backend::Libssh::Configuration
- Inherits:
-
Object
- Object
- SSHKit::Backend::Libssh::Configuration
- Defined in:
- lib/sshkit/backends/libssh.rb
Instance Attribute Summary collapse
-
#connection_timeout ⇒ Object
Returns the value of attribute connection_timeout.
-
#pty ⇒ Object
Returns the value of attribute pty.
-
#ssh_options ⇒ Object
Returns the value of attribute ssh_options.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
11 12 13 14 15 16 |
# File 'lib/sshkit/backends/libssh.rb', line 11 def initialize super self.pty = false self.connection_timeout = 30 self. = {} end |
Instance Attribute Details
#connection_timeout ⇒ Object
Returns the value of attribute connection_timeout.
9 10 11 |
# File 'lib/sshkit/backends/libssh.rb', line 9 def connection_timeout @connection_timeout end |
#pty ⇒ Object
Returns the value of attribute pty.
9 10 11 |
# File 'lib/sshkit/backends/libssh.rb', line 9 def pty @pty end |
#ssh_options ⇒ Object
Returns the value of attribute ssh_options.
9 10 11 |
# File 'lib/sshkit/backends/libssh.rb', line 9 def @ssh_options end |