Parses a C struct’s members
Example:
require 'fiddle/import' include Fiddle::CParser #=> Object parse_struct_signature(['int i', 'char c']) #=> [[Fiddle::TYPE_INT, Fiddle::TYPE_CHAR], ["i", "c"]] parse_struct_signature(['char buffer[80]']) #=> [[[Fiddle::TYPE_CHAR, 80]], ["buffer"]]
Sets the content type in an HTTP
header. The type
should be a full HTTP
content type, e.g. “text/html”. The params
are an optional Hash
of parameters to add after the content type, e.g. {‘charset’ => ‘iso-8859-1’}
Yields to a block and preserves the previous set of objects being printed.
Check whether the object_id id
is in the current buffer of objects to be pretty printed. Used to break cycles in chains of objects to be pretty printed.
Adds the object_id id
to the set of objects being pretty printed, so as to not repeat objects.
Removes an object from the set of objects being pretty printed.
A convenience method, like object_group
, but also reformats the Object’s object_id.
@return [String] a string suitable for debugging
Is there a path from ‘other` to `self` following edges in the dependency graph? @return whether there is a path following edges within this {#graph}
(see Gem::Resolver::Molinillo::ResolutionState#possibilities)
Activate TLS_FALLBACK_SCSV for this context. See RFC 7507.
Configures store to look up CA certificates from the system default certificate store as needed basis. The location of the store can usually be determined by:
OpenSSL::X509::DEFAULT_CERT_FILE
OpenSSL::X509::DEFAULT_CERT_DIR
Creates a CRAM-MD5 challenge. You can view more information on CRAM-MD5 on Wikipedia: en.wikipedia.org/wiki/CRAM-MD5