Results for: "module_function"

Override to display the default values of the command options. (similar to arguments, but displays the default values).

For example:

def defaults_str
  --no-gems-first --no-all
end
No documentation available

Handle the command arguments.

Return an Array of Specifications contained within the gem_home we’ll be installing into.

The location of the spec file that is installed.

Verifies the files of the gem

Return the default Gem path

File Fetcher. Dispatched by fetch_path. Use it instead.

No documentation available

Dump only the raw version string, not the complete object. It’s a string for backwards (RubyGems 1.3.5 and earlier) compatibility.

No documentation available

Returns a list of gems available for each source in Gem::sources.

type can be one of 3 values: :released => Return the list of all released specs :complete => Return the list of all specs :latest => Return the list of only the highest version of each gem :prerelease => Return the list of all prerelease only specs

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

Writes a binary file to path which is relative to +@gemhome+

Removes all gems in list.

NOTE: removes uninstalled gems from list.

No documentation available

Display a warning on stderr. Will ask question if it is not nil.

Display an error message in a location expected to get error messages. Will ask question if it is not nil.

Returns default port.

Returns default port.

Prepares the HTTPRequest object for use as the source for IO.copy_stream

The client’s IP address

Finds a servlet for path

Calls the given block once for each key, value pair in the database. Deletes all entries for which the block returns true.

Returns self.

Reads the file from pathname, then parses it like ::parse, returning the root node of the abstract syntax tree.

SyntaxError is raised if pathname’s contents are not valid Ruby syntax.

RubyVM::AbstractSyntaxTree.parse_file("my-app/app.rb")
# => #<RubyVM::AbstractSyntaxTree::Node:SCOPE@1:0-31:3>
Search took: 7ms  ·  Total Results: 3881