Expire memoized instance variables that can incorrectly generate, replace or miss files due changes in certain attributes used to compute them.
Builds and installs the Gem::Specification
spec
into the user dir
Installs the provided default specs including writing the spec file
Install the provided default specs
Creates several default gems which all have a lib/code.rb file. The gems are not installed but are available in the cache dir.
gem a version 1, this is the best-described gem.
gem a version 2
gem a version 3.a
gem a_evil version 9, use this to ensure similarly-named gems don’t collide with a.
gem b version 2
gem c version 1.2
gem pl version 1, this gem has a legacy platform of i386-linux.
Additional prerelease
gems may also be created:
gem a version 2.a
TODO: nuke this and fix tests. this should speed up a lot
Allows the proper version of rake
to be used for the test.
Defines a command, registering path
as a Shell
method for the given command
.
Shell::CommandProcessor.def_system_command "ls" #=> Defines ls. Shell::CommandProcessor.def_system_command "sys_sort", "sort" #=> Defines sys_sort as sort
Undefines a command
Deprecated from WEBrick/1.2.2, but does not break anything.
Returns the source encoding name as a string.
Returns the source encoding name as a string.
pass
- string
salt
- string - should be at least 8 bytes long.
iter
- integer - should be greater than 1000. 20000 is better.
keylen
- integer
This method is available in almost any version of OpenSSL
.
Conforms to rfc2898.
offline mode. read name=value pairs on standard input.
Yields to a block and preserves the previous set of objects being printed.
Check whether the object_id id
is in the current buffer of objects to be pretty printed. Used to break cycles in chains of objects to be pretty printed.
Adds the object_id id
to the set of objects being pretty printed, so as to not repeat objects.
Removes an object from the set of objects being pretty printed.
@return the next sibling (nil if unset)
@return the previous sibling (nil if unset)