Module: Hub::Context
- Extended by:
- Forwardable
- Includes:
- GitReaderMethods
- Included in:
- Commands
- Defined in:
- lib/hub/context.rb
Overview
Provides methods for inspecting the environment, such as GitHub user/token settings, repository info, and similar.
Defined Under Namespace
Modules: GitReaderMethods Classes: Branch, GitReader, GithubProject, GithubURL, LocalRepo, Remote, SshConfig
Constant Summary collapse
- NULL =
defined?(File::NULL) ? File::NULL : File.exist?('/dev/null') ? '/dev/null' : 'NUL'