Method: Auger::Socket#open

Defined in:
lib/auger/plugin/socket.rb

#open(host, options) ⇒ Object



11
12
13
# File 'lib/auger/plugin/socket.rb', line 11

def open(host, options)
  TCPSocket.open(host, options[:port]) rescue false
end