Singular accessor for executables
Sets executables to value
, ensuring it is an array. Don’t use this, push onto the array instead.
Sets files to files
, ensuring it is an array.
Does this dependency require a prerelease?
A default “version requirement” can surely only be ‘>= 0’.
A requirement is a prerelease if any of the versions inside of it are prereleases
Sends a DELETE request to the path
and gets a response, as an HTTPResponse
object.
Sends a MOVE request to the path
and gets a response, as an HTTPResponse
object.
Delete the session from storage. Also closes the storage.
Note that the session’s data is not automatically deleted upon the session expiring.
Used to remove a pair from the row by header
or index
. The pair is located as described in CSV::Row.field()
. The deleted pair is returned, or nil
if a pair could not be found.
Removes and returns the indicated columns or rows. In the default mixed mode indices refer to rows and everything else is assumed to be a column headers. Use by_col
!() or by_row
!() to force the lookup.
Returns true
if U
, and hence A
, is singular.
Retrieves remotefile
in binary mode, storing the result in localfile
. If localfile
is nil, returns retrieved data. If a block is supplied, it is passed the retrieved data in blocksize
chunks.
Retrieves remotefile
in ASCII (text) mode, storing the result in localfile
. If localfile
is nil, returns retrieved data. If a block is supplied, it is passed the retrieved data one line at a time.
Transfers localfile
to the server in binary mode, storing the result in remotefile
. If a block is supplied, calls it, passing in the transmitted data in blocksize
chunks.
Transfers localfile
to the server in ASCII (text) mode, storing the result in remotefile
. If callback or an associated block is supplied, calls it, passing in the transmitted data one line at a time.
Deletes a file on the server.
Returns the full entity body.
Calling this method a second or subsequent time will return the string already read.
http.request_get('/index.html') {|res| puts res.body } http.request_get('/index.html') {|res| p res.body.object_id # 538149362 p res.body.object_id # 538149362 }
Because it may be necessary to modify the body, Eg, decompression this method facilitates that.
Sends a DELETE command to remove the mailbox
.
A Net::IMAP::NoResponseError
is raised if a mailbox with that name cannot be deleted, either because it does not exist or because the client does not have permission to delete it.
Sends a MOVE command to move the specified message(s) to the end of the specified destination mailbox
. The set
parameter is a number, an array of numbers, or a Range
object. The number is a message sequence number. The IMAP
MOVE extension is described in [RFC-6851].