Results for: "String#[]"

Called when the YAML stream ends

No documentation available

End a stream emission

See Psych::Handler#end_stream

Emit the end of a mapping.

See Psych::Handler#end_mapping

No documentation available

Returns true if the stream is finished.

See Zlib::GzipReader documentation for a description.

Returns the number of the first source line where the instruction sequence was loaded from.

For example, using irb:

iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
#=> <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.first_lineno
#=> 1

Return trace points in the instruction sequence. Return an array of [line, event_symbol] pair.

Return the list of all array-oriented instance variables.

Return the list of all instance variables.

Is name a required attribute?

Required specification attributes

Is this specification missing its extensions? When this returns true you probably want to build_extensions

True if this gem has the same attributes as other.

No documentation available

Gets the body text from the target and outputs it to $stdout. The target can either be specified as (uri), or as (host, path, port = 80); so:

Net::HTTP.get_print URI('http://www.example.com/index.html')

or:

Net::HTTP.get_print 'www.example.com', '/index.html'

Maximum number of times to retry an idempotent request in case of Net::ReadTimeout, IOError, EOFError, Errno::ECONNRESET, Errno::ECONNABORTED, Errno::EPIPE, OpenSSL::SSL::SSLError, Timeout::Error. Should be a non-negative integer number. Zero means no retries. The default value is 1.

Sends a POST request to the path.

Returns the response as a Net::HTTPResponse object.

When called with a block, the block is passed an HTTPResponse object. The body of that response will not have been read yet; the block can process it using HTTPResponse#read_body, if desired.

Returns the response.

This method never raises Net::* exceptions.

# example
response = http.request_post('/cgi-bin/nice.rb', 'datadatadata...')
p response.status
puts response.body          # body is already read in this case

# using block
http.request_post('/cgi-bin/nice.rb', 'datadatadata...') {|response|
  p response.status
  p response['content-type']
  response.read_body do |str|   # read body now
    print str
  end
}
No documentation available
No documentation available
No documentation available
No documentation available

Routes method calls to the referenced remote object.

No documentation available
Search took: 11ms  ·  Total Results: 3121