Results for: "remove_const"

Returns true if there are no sources in this SourceList.

Sets the vendordir entry in RbConfig::CONFIG to value and restores the original value when the block ends

No documentation available
No documentation available

Replaces self by other URI object.

Args

v

String

Description

Public setter for the scheme component v (with validation).

See also URI::Generic.check_scheme.

Usage

require 'uri'

uri = URI.parse("http://my.example.com")
uri.scheme = "https"
uri.to_s  #=> "https://my.example.com"

Sets the cookie expiration to the time t. The expiration time may be a false value to disable expiration or a Time or HTTP format time string to set the expiration date.

Retrieves the expiration time as a Time

for IO.copy_stream. Note: we may return a larger string than size here; but IO.copy_stream does not care.

Mounts servlet on dir passing options to the servlet at creation time

Unmounts dir

No documentation available

Converts the contents of the database to an in-memory Hash, then calls Hash#reject with the specified code block, returning a new Hash.

Returns a Hash (not a DBM database) created by using each value in the database as a key, with the corresponding key as its value.

Note that all values in the hash will be Strings, but the keys will be actual objects.

Replaces the contents of the database with the contents of the specified object. Takes any object which implements the each_pair method, including Hash and DBM objects.

Resets the digest to the initial state and returns self.

This method is overridden by each implementation subclass.

Construct a new class given a C:

Fiddle::Importer#struct and Fiddle::Importer#union wrap this functionality in an easy-to-use manner.

Example:

require 'fiddle/struct'
require 'fiddle/cparser'

include Fiddle::CParser

types, members = parse_struct_signature(['int i','char c'])

MyStruct = Fiddle::CStructBuilder.create(Fiddle::CUnion, types, members)

obj = MyStruct.allocate

Construct a new class given a C:

Fiddle::Importer#struct and Fiddle::Importer#union wrap this functionality in an easy-to-use manner.

Example:

require 'fiddle/struct'
require 'fiddle/cparser'

include Fiddle::CParser

types, members = parse_struct_signature(['int i','char c'])

MyStruct = Fiddle::CStructBuilder.create(Fiddle::CUnion, types, members)

obj = MyStruct.allocate

See IO#readchar.

See IO#readbyte.

See IO#readline.

Similar to read, but raises EOFError at end of string instead of returning nil, as well as IO#sysread does.

Similar to read, but raises EOFError at end of string instead of returning nil, as well as IO#sysread does.

Reads size bytes from the stream. If buf is provided it must reference a string which will receive the data.

See IO#read for full details.

Reads at most maxlen bytes from the stream. If buf is provided it must reference a string which will receive the data.

See IO#readpartial for full details.

Search took: 10ms  ·  Total Results: 4175