Results for: "module_function"

The version of the Marshal format for your Ruby.

A Gem::Version for the currently running Ruby.

A Gem::Version for the currently running RubyGems

See Mutex#synchronize

Returns the change time for stat (that is, the time directory information about the file was changed, not the file itself).

Note that on Windows (NTFS), returns creation time (birth time).

File.stat("testfile").ctime   #=> Wed Apr 09 08:53:14 CDT 2003

Extensions to build when installing the gem, specifically the paths to extconf.rb-style files used to compile extensions.

These files will be run when the gem is installed, causing the C (or whatever) code to be compiled on the user’s machine.

Usage:

spec.extensions << 'ext/rmagic/extconf.rb'

See Gem::Ext::Builder for information about writing extensions for gems.

Activate this spec, registering it as a loaded spec and adding it’s lib paths to $LOAD_PATH. Returns true if the spec was activated, false if it was previously activated. Freaks out if there are conflicts upon activation.

Return any possible conflicts against the currently loaded specs.

Sets extensions to extensions, ensuring it is an array. Don’t use this, push onto the array instead.

Set the version to version, potentially also setting required_rubygems_version if version indicates it is a prerelease.

No documentation available

Establishes an FTP connection to host, optionally overriding the default port. If the environment variable SOCKS_SERVER is set, sets up the connection through a SOCKS proxy. Raises an exception (typically Errno::ECONNREFUSED) if the connection cannot be established.

Turns on net/http 1.2 (Ruby 1.8) features. Defaults to ON in Ruby 1.8 or later.

No documentation available

Disconnects from the server.

Returns true if disconnected from the server.

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

@return the XMLDecl version of this document as a String. If no XMLDecl has been set, returns the default version.

True when the gem has been activated

Version of the gem

Search took: 5ms  ·  Total Results: 3881