Module Gist::Manpage
In: lib/gist/manpage.rb

Methods

Public Instance methods

Prints a manpage, all pretty and paged.

Returns true if groff is installed and in our path, false if not.

The groff command complete with crazy arguments we need to run in order to turn our raw roff (manpage markup) into something readable on the terminal.

Returns the terminal-formatted manpage, ready to be printed to the screen.

All calls to `puts` are paged, git-style.

Returns the raw manpage. If we‘re not running in standalone mode, it‘s a file sitting at the root under the `man` directory.

If we are running in standalone mode the manpage will be included after the END of the file so we can grab it using DATA.

[Validate]