Results for: "module_function"

No documentation available

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"]]
No documentation available
No documentation available
No documentation available

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.

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

Extract the first name=“value” pair from content. Works with single quotes according to the constant CONTENT_PATTERN. Return a Hash.

No documentation available
No documentation available

Sets IO operations on io to be non-blocking

Sets IO operations on io to be non-blocking

Open the specified filename (either in read-only mode or in read-write mode) and lock it for reading or writing.

The opened File object will be returned. If read_only is true, and the file does not exist, then nil will be returned.

All exceptions are propagated.

No documentation available

Default spec directory path to be used if an alternate value is not specified in the environment

Returns binary extensions dir for specified RubyGems base dir or nil if such directory cannot be determined.

By default, the binary extensions are located side by side with their Ruby counterparts, therefore nil is returned

@return [String] a string suitable for debugging

Search took: 7ms  ·  Total Results: 3605