Results for: "remove_const"

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

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

data = '{"userId": 1, "id": 1, "title": "delectus aut autem", "completed": false}'
http.mkcol('/todos/1', data)
http = Net::HTTP.new(hostname)

Returns a string representation of the request:

Net::HTTP::Post.new(uri).inspect # => "#<Net::HTTP::Post POST>"
No documentation available
No documentation available

Args

v

String

Description

Public setter for the typecode v (with validation).

See also URI::FTP.check_typecode.

Usage

require 'uri'

uri = URI.parse("ftp://john@ftp.example.com/my_file.img")
#=> #<URI::FTP ftp://john@ftp.example.com/my_file.img>
uri.typecode = "i"
uri
#=> #<URI::FTP ftp://john@ftp.example.com/my_file.img;type=i>

Searches list id for opt and the optional patterns for completion pat. If icase is true, the search is case insensitive. The result is returned or yielded if a block is given. If it isn’t found, nil is returned.

No documentation available

This is used as a predicate, and ought to be called first.

def copy: (**params) -> AliasGlobalVariableNode

def inspect(inspector: NodeInspector) -> String

def copy: (**params) -> AliasMethodNode

def inspect(inspector: NodeInspector) -> String

def copy: (**params) -> AlternationPatternNode

def inspect(inspector: NodeInspector) -> String

def copy: (**params) -> AndNode

def inspect(inspector: NodeInspector) -> String

def copy: (**params) -> ArgumentsNode

def inspect(inspector: NodeInspector) -> String

def copy: (**params) -> ArrayNode

def inspect(inspector: NodeInspector) -> String

def copy: (**params) -> ArrayPatternNode

def inspect(inspector: NodeInspector) -> String

def copy: (**params) -> AssocNode

def inspect(inspector: NodeInspector) -> String

def copy: (**params) -> AssocSplatNode

Search took: 6ms  ·  Total Results: 4862