Results for: "OptionParser"

Returns the names of all available ciphers in an array.

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

returns the socket option name as an integer.

p Socket::Option.new(:INET6, :IPV6, :RECVPKTINFO, [1].pack("i!")).optname
#=> 2

Calls String#unpack on sockopt.data.

sockopt = Socket::Option.new(:INET, :SOCKET, :KEEPALIVE, [1].pack("i"))
p sockopt.unpack("i")      #=> [1]
p sockopt.data.unpack("i") #=> [1]

Convert 64-bit FILETIME integer into Time object.

Convert Time object or Integer object into 64-bit FILETIME.

Changes the parameters of the deflate stream to allow changes between different types of data that require different types of compression. Any unprocessed data is flushed before changing the params.

See Zlib::Deflate.new for a description of level and strategy.

No documentation available

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

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

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

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

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

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

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

Returns the binary operator used to modify the receiver. This method is deprecated in favor of binary_operator.

Returns the else clause of the case match node. This method is deprecated in favor of else_clause.

Returns the else clause of the case node. This method is deprecated in favor of else_clause.

Returns the subsequent if/elsif/else clause of the if node. This method is deprecated in favor of subsequent.

Returns the subsequent rescue clause of the rescue node. This method is deprecated in favor of subsequent.

Search took: 4ms  ·  Total Results: 3731