Returns URL-escaped string following RFC 3986.
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 value of field 'Content-Type'
; returns the new value; see Content-Type request header:
req = Net::HTTP::Get.new(uri) req.set_content_type('application/json') # => ["application/json"]
Net::HTTPHeader#content_type=
is an alias for Net::HTTPHeader#set_content_type
.
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.
Compile a AliasMethodNode
node
Compile a EmbeddedVariableNode
node
Compile a PinnedVariableNode
node
Compile a SourceFileNode
node
Dispatch enter and leave events for AliasMethodNode
nodes and continue walking the tree.
Dispatch enter and leave events for EmbeddedVariableNode
nodes and continue walking the tree.
Dispatch enter and leave events for PinnedVariableNode
nodes and continue walking the tree.
Dispatch enter and leave events for SourceFileNode
nodes and continue walking the tree.
Inspect a AliasMethodNode
node.