# File lib/sshkit/host.rb, line 81 def first_suitable_parser(host) parser = PARSERS.find{|p| p.suitable?(host) } fail UnparsableHostStringError, "Cannot parse host string #{host}" if parser.nil? parser.new(host) end