allow_addr?(addr) Instance Public methods Allow connections from addrinfo addr? It must be formatted like Socket#peeraddr: ["AF_INET", 10, "lc630", "192.0.2.1"]
scrollbarborder(width) Instance Public methods set scrollbar border
io.getch(min: nil, time: nil) â char Instance Public methods Reads and returns a character in raw mode. You must require 'io/console' to use this method.
read() Instance Public methods Slurps the remaining rows and returns an Array of Arrays. The data source must be open for reading. readlines
name() Instance Public methods Method name If the method has no assigned name, it extracts it from call_seq.
tcpserver.accept_nonblock => tcpsocket Instance Public methods Accepts an incoming connection using accept(2) after O_NONBLOCK is set for the underlying file descriptor. It returns an accepted TCPSocket for the incoming connection. Example require 'socket' serv = TCPServer.new(2202) begin # emulate blocking accept sock = serv.accept_nonblock rescue IO::WaitReadable, Errno::EINTR IO.select([serv]) retry end # sock is an accepted socket. Refer to Socket#accept for the exce
search_string(string) Instance Public methods Removes whitespace and downcases string
trusted_certificates(&block) Class Public methods Enumerates the trusted certificates via Gem::Security::TrustDir.
noecho() Instance Public methods
to_feed(rss, item) Instance Public methods
Page 459 of 2275