# File lib/celerity/viewer_connection.rb, line 8 def self.create(host, port) # if the connection fails, we won't spend time loading json socket = TCPSocket.new(host, port) require "json" new(socket) end