Results for: "strip"

No documentation available

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

The request is based on the Net::HTTP::Get object created from string path and initial headers hash initheader.

With no block given, returns the response object:

http = Net::HTTP.new(hostname)
http.request_get('/todos') # => #<Net::HTTPOK 200 OK readbody=true>

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

http.request_get('/todos') do |res|
  p res
end # => #<Net::HTTPOK 200 OK readbody=true>

Output:

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

Sends a HEAD request to the server; returns an instance of a subclass of Net::HTTPResponse.

The request is based on the Net::HTTP::Head object created from string path and initial headers hash initheader.

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

Sends an HTTP request to the server; returns an instance of a subclass of Net::HTTPResponse.

The request is based on the Net::HTTPRequest object created from string path, string data, and initial headers hash header. That object is an instance of the subclass of Net::HTTPRequest, that corresponds to the given uppercase string name, which must be an HTTP request method or a WebDAV request method.

Examples:

http = Net::HTTP.new(hostname)
http.send_request('GET', '/todos/1')
# => #<Net::HTTPOK 200 OK readbody=true>
http.send_request('POST', '/todos', 'xyzzy')
# => #<Net::HTTPCreated 201 Created readbody=true>
No documentation available
No documentation available
No documentation available

Return the byte offset of the start of the line corresponding to the given byte offset.

These are the comments that are associated with this location that exist after the end of this location.

Attach a comment to the trailing comments of this location.

The line number where this location starts.

The column number in bytes where this location starts from the start of the line.

Implement the pretty print interface for Location.

Implement the pretty print interface for Token.

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

Register the Symbol command as a gem command.

Unregister the Symbol command as a gem command.

Is this dependency simply asking for the latest version of a gem?

No documentation available

Return an Array of Specifications contained within the gem_home we’ll be installing into.

Writes the .gemspec specification (in Ruby) to the gem home’s specifications directory.

No documentation available
Search took: 2ms  ·  Total Results: 1654