Sends an UNLOCK request to the server; returns an instance of a subclass of Net::HTTPResponse
.
The request is based on the Net::HTTP::Unlock
object created from string path
, string body
, and initial headers hash initheader
.
data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}' http = Net::HTTP.new(hostname) http.unlock('/todos/1', data)
Opens a block for grouping objects to be pretty printed.
Arguments:
indent
- noop argument. Present for compatibility.
open_obj
- text appended before the &blok. Default is ”
close_obj
- text appended after the &blok. Default is ”
open_width
- noop argument. Present for compatibility.
close_width
- noop argument. Present for compatibility.
Mirrors the C extension’s StringQuery::local?
method.
Whether or not this string is a valid local variable name.
A Location
instance that represents the location of this node in the source.
def octal?: () -> bool
def frozen?: () -> bool
def octal?: () -> bool
def frozen?: () -> bool
def frozen?: () -> bool
A Location
object representing the location of this token in the source.
Does this dependency require a prerelease?
Indicate if this NameTuple
is for a prerelease version.
A requirement is a prerelease if any of the versions inside of it are prereleases