Module: Hub::Context

Extended by:
Forwardable, System
Includes:
GitReaderMethods, System
Included in:
Commands
Defined in:
lib/hub/context.rb

Overview

Methods for inspecting the environment, such as reading git config, repository info, and other.

Defined Under Namespace

Modules: GitReaderMethods, System Classes: Branch, Error, FatalError, GitReader, GithubProject, GithubURL, LocalRepo, Remote

Constant Summary collapse

NULL =
defined?(File::NULL) ? File::NULL : File.exist?('/dev/null') ? '/dev/null' : 'NUL'

Method Summary

Methods included from System

browser_launcher, command?, osx?, terminal_width, unix?, which, windows?

Methods included from GitReaderMethods

extended