Results for: "remove_const"

Return true if this spec can require file.

No documentation available

Returns whether the HTTP session is to be kept alive.

Return a String indicating who caused this request to be added (only valid for implicit requests)

No documentation available

Is this handler a streaming handler?

Returns the type library version.

tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library')
puts tlib.version #-> "1.3"

If the buffer is read only, meaning the buffer cannot be modified using set_value, set_string or copy and similar.

Frozen strings and read-only files create read-only buffers.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Returns true; retained for compatibility.

Sends the given request req to the server; forms the response into a Net::HTTPResponse object.

The given req must be an instance of a subclass of Net::HTTPRequest. Argument body should be given only if needed for the request.

With no block given, returns the response object:

http = Net::HTTP.new(hostname)

req = Net::HTTP::Get.new('/todos/1')
http.request(req)
# => #<Net::HTTPOK 200 OK readbody=true>

req = Net::HTTP::Post.new('/todos')
http.request(req, 'xyzzy')
# => #<Net::HTTPCreated 201 Created readbody=true>

With a block given, calls the block with the response and returns the response:

req = Net::HTTP::Get.new('/todos/1')
http.request(req) do |res|
  p res
end # => #<Net::HTTPOK 200 OK readbody=true>

Output:

#<Net::HTTPOK 200 OK readbody=false>

Returns error reason. Override this for I18N.

Register a listener for one or more events.

def register: (Listener, *Symbol) -> void

Version of the gem

The Requirement of the unresolved dependency (not Version).

Noop this out so there are no anchors

Performs a Gem::Net::HTTP request of type request_class on uri returning a Gem::Net::HTTP response object. request maintains a table of persistent connections to reduce connect overhead.

A string representation of this Version.

True if the version string matches RubyGems’ requirements.

Set the version to version.

Search took: 5ms  ·  Total Results: 4862