Class: Utils::ConfigFile::SshTunnel::CopyPaste
- Inherits:
-
BlockConfig
- Object
- BlockConfig
- Utils::ConfigFile::SshTunnel::CopyPaste
- Defined in:
- lib/utils/config_file.rb
Overview
Manages the copy/paste functionality configuration for SSH tunnels.
This class handles the setup and configuration of copy/paste capabilities within SSH tunnel sessions, allowing users to define network addresses, ports, and other parameters needed for establishing and managing copy/paste connections through SSH tunnels.
Instance Method Summary collapse
-
#to_s ⇒ String
The to_s method returns a colon-separated string representation of the SSH tunnel specification.
Methods inherited from BlockConfig
config, inherited, #initialize, lazy_config, #to_ruby
Constructor Details
This class inherits a constructor from Utils::ConfigFile::BlockConfig
Instance Method Details
#to_s ⇒ String
The to_s method returns a colon-separated string representation of the SSH tunnel specification.
This method combines the bind address, port, host, and host port components into a single string format using colons as separators.
678 679 680 |
# File 'lib/utils/config_file.rb', line 678 def to_s [ bind_address, port, host, host_port ] * ':' end |