Class: Utils::ConfigFile::SshTunnel::CopyPaste
- Inherits:
-
BlockConfig
- Object
- BlockConfig
- Utils::ConfigFile::SshTunnel::CopyPaste
- Defined in:
- lib/utils/config_file.rb
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, #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.
584 585 586 |
# File 'lib/utils/config_file.rb', line 584 def to_s [ bind_address, port, host, host_port ] * ':' end |