Returns true
; retained for compatibility.
Sets the read timeout, in seconds, for self
to integer sec
; the initial value is 60.
Argument sec
must be a non-negative numeric value:
http = Net::HTTP.new(hostname) http.read_timeout # => 60 http.get('/todos/1') # => #<Net::HTTPOK 200 OK readbody=true> http.read_timeout = 0 http.get('/todos/1') # Raises Net::ReadTimeout.
Dispatches a single event for ‘node` to all registered listeners.
def dispatch_once
: (Node
) -> void
def multi_line?: () -> bool
def multi_line?: () -> bool
def static_keys?: () -> bool
def multi_line?: () -> bool
def multi_line?: () -> bool
Return the byte offset of the start of the line corresponding to the given byte offset.
The line number where this location starts.
The column number in bytes where this location starts from the start of the line.
Notifies all registered listeners for event
of a status change of tuple
.
Creates a thread that scans the tuplespace for expired tuples.
Returns full path to the directory where gem’s extensions are installed.
Returns path to the extensions directory.
Is this dependency simply asking for the latest version of a gem?