Socket::Constants
here since I didn't find an obvious reference listing it except Programming Ruby1.9 The Pragmatic Programmers' Guide; Otherwise you've to ri Socket::Constants
from command line which is a good way to get the description of each constant.0
m it should be a protocol defined (we'll manipulate that later)puts
and gets
methods.You can see the difference and its classes using method method in Pry interpreter consoleGServer.stop(port)