Returns the absolute path of this instruction sequence.
nil
if the iseq was evaluated from a string.
For example, using ::compile_file
:
# /tmp/method.rb def hello puts "hello, world" end # in irb > iseq = RubyVM::InstructionSequence.compile_file('/tmp/method.rb') > iseq.absolute_path #=> /tmp/method.rb
Creates a Regexp
to match an address.
Creates a DRb::DRbObject
given the reference information to the remote host uri
and object ref
.
Routes respond_to? to the referenced remote object.
Creates a DRb::DRbObject
given the reference information to the remote host uri
and object ref
.
Routes respond_to? to the referenced remote object.
Returns [eigenvector_matrix, eigenvalue_matrix
, eigenvector_matrix_inv
]
Returns L
, U
, P
in an array
Calls wait repeatedly while the given block yields a truthy value.
When true
, connections are in passive mode per default. Default: true
.
When true
, connections are in passive mode per default. Default: true
.
Sends a GET request to the target and returns the HTTP
response as a Net::HTTPResponse
object. The target can either be specified as (uri
), or as (host
, path
, port
= 80); so:
res = Net::HTTP.get_response(URI('http://www.example.com/index.html')) print res.body
or:
res = Net::HTTP.get_response('www.example.com', '/index.html') print res.body
The default port to use for HTTP
requests; defaults to 80.
Returns the X.509 certificates the server presented.
The port of the proxy server, if one is configured.
The password of the proxy server, if one is configured.
utils
true if the response has a body.
The default port for IMAP
connections, port 143
Similar to search()
, but returns unique identifiers.