SSHKit::SimpleHostParser
@private
# File lib/sshkit/host.rb, line 174 def self.suitable?(host_string) host_string.match(/@/) && !host_string.match(/\:/) end
# File lib/sshkit/host.rb, line 180 def hostname @host_string.split('@').last end
# File lib/sshkit/host.rb, line 177 def username @host_string.split('@').first end
[Validate]
Generated with the Darkfish Rdoc Generator 2.