_insert_callbacks

_insert_callbacks(callbacks, block = nil) Instance Public methods Take callback names and an optional callback proc, normalize them, then call the block with each callback. This allows us to abstract the normalization across several methods that use it. Parameters callbacks - An array of callbacks, with an optional options hash as the last parameter. block - A proc that should be added to the callbacks. Block Parameters name - The callback to be added options - A h

cp_r

cp_r(src, dest, options = {}) Class Public methods Options: preserve noop verbose dereference_root remove_destination Copies src to dest. If src is a directory, this method copies all its contents recursively. If dest is a directory, copies src to dest/src. src can be a list of files. # Installing ruby library "mylib" under the site_ruby FileUtils.rm_r site_ruby + '/mylib', :force FileUtils.cp_r 'lib/', site_ruby + '/mylib' # Examples of copying several files to target directory.

ftype

File.ftype(file_name) â string Class Public methods Identifies the type of the named file; the return string is one of âfile'', âdirectory'', âcharacterSpecial'', âblockSpecial'', âfifo'', âlink'', âsocket'', or âunknown''. File.ftype("testfile") #=> "file" File.ftype("/dev/tty") #=> "characterSpecial" File.ftype("/tmp/.X11-unix/X0") #=> "socket"

to_der

dh.to_der â aString Instance Public methods Encodes this DH to its DER encoding. Note that any existing per-session public/private keys will not get encoded, just the Diffie-Hellman parameters will be encoded.

visible?

WIN32OLE_TYPELIB#visible? Instance Public methods Returns true if the type library information is not hidden. If wLibFlags of TLIBATTR is 0 or LIBFLAG_FRESTRICTED or LIBFLAG_FHIDDEN, the method returns false, otherwise, returns true. If the method fails to access the TLIBATTR information, then WIN32OLERuntimeError is raised. tlib = WIN32OLE_TYPELIB.new('Microsoft Excel 9.0 Object Library') tlib.visible? # => true

initialize

initialize(store, options) Instance Protected methods Set up a new ri generator

[]

[](arg) Class Public methods Locate a specific time zone object. If the argument is a string, it is interpreted to mean the name of the timezone to locate. If it is a numeric value it is either the hour offset, or the second offset, of the timezone to find. (The first one with that offset will be returned.) Returns nil if no such time zone is known to the system.

delete

dbm.delete(key) Instance Public methods Deletes an entry from the database.

respond_to_missing?

respond_to_missing?(method, include_private) Instance Public methods Returns true if obj responds to the given method. Private methods are included in the search only if the optional second parameter evaluates to true.

delete

delete(*sequences) Instance Public methods