Results for: "Array.new"

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

Add a list of extra arguments for the given command. args may be an array or a string to be split on white space.

Accessor for the specific extra args hash (self initializing).

Get a single optional argument from the command line. If more than one argument is given, return only the first. Return nil if none are given.

No documentation available
No documentation available

Sets dmp1, dmq1, iqmp for the RSA instance. They are calculated by d mod (p - 1), d mod (q - 1) and q^(-1) mod p respectively.

No documentation available
No documentation available

Rewinds the enumerator chain by calling the “rewind” method on each enumerable in reverse order. Each call is performed only if the enumerable responds to the method.

No documentation available
No documentation available
No documentation available

Parses a given string as a blob that contains configuration for OpenSSL.

If the source of the IO is a file, then consider using parse_config.

Returns an array of currently loaded engines.

No documentation available
No documentation available

Emit a scalar with value

Called when a scalar value is found. The scalar may have an anchor, a tag, be implicitly plain or implicitly quoted

value is the string value of the scalar anchor is an associated anchor or nil tag is an associated tag or nil plain is a boolean value quoted is a boolean value style is an integer idicating the string style

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

Example

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

---
- !str "foo"
- &anchor fun
- many
  lines
- |
  many
  newlines

The above YAML document contains a list with four strings. Here are the parameters sent to this method in the same order:

# value               anchor    tag     plain   quoted  style
["foo",               nil,      "!str", false,  false,  3    ]
["fun",               "anchor", nil,    true,   false,  1    ]
["many lines",        nil,      nil,    true,   false,  1    ]
["many\nnewlines\n",  nil,      nil,    false,  true,   4    ]

Parse the YAML document contained in yaml. Events will be called on the handler set on the parser instance.

See Psych::Parser and Psych::Parser#handler

Returns a Psych::Parser::Mark object that contains line, column, and index information.

Search took: 5ms  ·  Total Results: 2710