Results for: "OptionParser"

No documentation available
No documentation available
No documentation available

Emit a scalar with value and tag

Emit a sequence with list and tag

Called when a sequence is started.

anchor is the anchor associated with the sequence or nil. tag is the tag associated with the sequence or nil. implicit a boolean indicating whether or not the sequence was implicitly started. style is an integer indicating the list style.

See the constants in Psych::Nodes::Sequence for the possible values of style.

Example

Here is a YAML document that exercises most of the possible ways this method can be called:

---
- !!seq [
  a
]
- &pewpew
  - b

The above YAML document consists of three lists, an outer list that contains two inner lists. Here is a matrix of the parameters sent to represent these lists:

# anchor    tag                       implicit  style
[nil,       nil,                      true,     1     ]
[nil,       "tag:yaml.org,2002:seq",  false,    2     ]
["pewpew",  nil,                      true,     1     ]

Start emitting a sequence with anchor, a tag, implicit sequence start and end, along with style.

See Psych::Handler#start_sequence

Replace %w+% into the environment value of what is contained between the %‘s This method is used for REG_EXPAND_SZ.

For detail, see expandEnvironmentStrings Win32 API.

Returns the size of arguments of the method.

tobj = WIN32OLE::Type.new('Microsoft Excel 9.0 Object Library', 'Workbook')
method = WIN32OLE::Method.new(tobj, 'SaveAs')
puts method.size_params # => 11

Duplicates the deflate stream.

Make an internal copy of the source buffer. Updates to the copy will not affect the source buffer.

source = IO::Buffer.for("Hello World")
# =>
# #<IO::Buffer 0x00007fd598466830+11 EXTERNAL READONLY SLICE>
# 0x00000000  48 65 6c 6c 6f 20 57 6f 72 6c 64                Hello World
buffer = source.dup
# =>
# #<IO::Buffer 0x0000558cbec03320+11 INTERNAL>
# 0x00000000  48 65 6c 6c 6f 20 57 6f 72 6c 64                Hello World
No documentation available

Like Net::HTTP.get, but returns a Net::HTTPResponse object instead of the body string.

Returns the X509 certificate chain (an array of strings) for the session’s socket peer, or nil if none.

No documentation available

Returns the user name of the proxy server, if defined, nil otherwise; see Proxy Server.

Executes a request which uses a representation and returns its body.

Like Net::HTTP.get, but returns a Net::HTTPResponse object instead of the body string.

Returns the X509 certificate chain (an array of strings) for the session’s socket peer, or nil if none.

No documentation available

Returns the user name of the proxy server, if defined, nil otherwise; see Proxy Server.

Executes a request which uses a representation and returns its body.

No documentation available

Private setter for the path of the URI::FTP.

Represents the location of the ‘&&=` operator.

@@target &&= value
         ^^^
Search took: 5ms  ·  Total Results: 6041