Returns the row as a CSV
String
. Headers are not used. Equivalent to:
csv_row.fields.to_csv( options )
Returns the table as a complete CSV
String
. Headers will be listed first, then all of the field rows.
This method assumes you want the Table.headers()
, unless you explicitly pass :write_headers => false
.
Convert an object reference id to an object.
This implementation looks up the reference id in the local object space and returns the object it refers to.
Convert an object into a reference id.
This implementation returns the object’s __id__ in the local object space.
Convert a dRuby reference to the local object it refers to.
Convert a local object to a dRuby reference.
Has a method been included in the list of insecure methods?
Coerce an object to a string, providing our own representation if to_s is not defined for the object.
Convert an object reference id to an object.
This implementation looks up the reference id in the local object space and returns the object it refers to.
Convert an object into a reference id.
This implementation returns the object’s __id__ in the local object space.
Returns [eigenvector_matrix, eigenvalue_matrix
, eigenvector_matrix_inv
]
Returns L
, U
, P
in an array
Setter for the read_timeout
attribute.
Gets the entity body returned by the remote HTTP server.
If a block is given, the body is passed to the block, and the body is provided in fragments, as it is read in from the socket.
Calling this method a second or subsequent time for the same HTTPResponse
object will return the value already read.
http.request_get('/index.html') {|res| puts res.read_body } http.request_get('/index.html') {|res| p res.read_body.object_id # 538149362 p res.read_body.object_id # 538149362 } # using iterator http.request_get('/index.html') {|res| res.read_body do |segment| print segment end }
The default port for IMAP
connections, port 143
Similar to sort()
, but returns an array of unique identifiers.
Similar to thread()
, but returns unique identifiers instead of message sequence numbers.