SSHKit::SimpleHostParser
# File lib/sshkit/host.rb, line 121 def self.suitable?(host_string) !host_string.match /[@|\[|\]]/ end
# File lib/sshkit/host.rb, line 129 def hostname @host_string.split(':').first end
# File lib/sshkit/host.rb, line 125 def port @host_string.split(':').last.to_i end
[Validate]
Generated with the Darkfish Rdoc Generator 2.