split

File.split(file_name) â array Class Public methods Splits the given string into a directory and a file component and returns them in a two-element array. See also File::dirname and File::basename. File.split("/home/gumby/.profile") #=> ["/home/gumby", ".profile"]

destroy

destroy(*args) Class Public methods

id2obj

id2obj(pie, id) Class Public methods

waitpid

Process.waitpid(pid=-1, flags=0) â fixnum Class Public methods Waits for a child process to exit, returns its process id, and sets $? to a Process::Status object containing information on that process. Which child it waits on depends on the value of pid: > 0 Waits for the child whose process ID equals pid. 0 Waits for any child whose process group ID equals that of the calling process. -1 Waits for any child process (the default if no pid is given). < -1 Waits fo

up_down

up_down(w, n) Class Public methods

platform=

platform=(platform) Instance Public methods The platform this gem runs on. This is usually Gem::Platform::RUBY or Gem::Platform::CURRENT. Most gems contain pure Ruby code; they should simply leave the default value in place. Some gems contain C (or other) code to be compiled into a Ruby âextensionâ. The should leave the default value in place unless their code will only compile on a certain type of system. Some gems consist of pre-compiled code (âbinary gemsâ). It's especially

id

id() Instance Public methods

have_func

have_func(func, headers = nil, opt = "", &b) Instance Public methods Returns whether or not the function func can be found in the common header files, or within any headers that you provide. If found, a macro is passed as a preprocessor constant to the compiler using the function name, in uppercase, prepended with HAVE_. To check functions in an additional library, you need to check that library first using have_library(). The func shall be either mere function name or functi

api_location

api_location() Instance Protected methods Alias for: resource_location

bindinfo

bindinfo(seq=nil) Instance Public methods