ed-insert
(vi input: almost all; emacs: printable characters) In insert mode, insert the input character left of the cursor position. In replace mode, overwrite the character at the cursor and move the cursor to the right by one character position. Accept an argument to do this repeatedly. It is an error if the input character is the NUL character (Ctrl-@
). Failure to enlarge the edit buffer also results in an error.
ed-digit
(emacs: 0 to 9) If in argument input mode, append the input digit to the argument being read. Otherwise, call ed-insert
. It is an error if the input character is not a digit or if the existing argument is already greater than a million.
Readline
self-insert
(a, b, A, 1, !, …) Insert yourself.
Take a chunk of a String
cut by width with escape sequences.
Returns the full path to this spec’s gem directory. eg: /usr/local/lib/ruby/1.8/gems/mygem-1.0
Returns the full path to the gems directory containing this spec’s gem directory. eg: /usr/local/lib/ruby/1.8/gems
Register the Symbol
command
as a gem command.
Unregister the Symbol
command
as a gem command.
Really verbose mode gives you extra output.
Is this dependency simply asking for the latest version of a gem?
Indicated, based on the requested domain, if remote gems should be considered.
Return a list of the gem specifications in the dependency list, sorted in order so that no gemspec in the list depends on a gemspec earlier in the list.
This is useful when removing gems from a set of installed gems. By removing them in the returned order, you don’t get into as many dependency issues.
If there are circular dependencies (yuck!), then gems will be returned in order until only the circular dependents and anything they reference are left. Then arbitrary gemspecs will be returned until the circular dependency is broken, after which gems will be returned in dependency order again.
Are we doctoring a gem repository?
Lazy accessor for the spec’s gem directory.