Results for: "remove_const"

No documentation available
No documentation available
No documentation available

Returns an Array of SingleResponse for this BasicResponse.

Restore session state from the session’s FileStore file.

Returns the session state as a hash.

Restore session state.

Returns session data as a hash.

Restore (empty) session state.

Restore session state from the session’s PStore file.

Returns the session state as a hash.

No documentation available

The RubyGems version required by this gem

Called with encoding when the YAML stream starts. This method is called once per stream. A stream may contain multiple documents.

See the constants in Psych::Parser for the possible values of encoding.

No documentation available

Start a stream emission with encoding

See Psych::Handler#start_stream

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

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
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Register the Symbol command as a gem command.

Search took: 5ms  ·  Total Results: 3851