Module: Flight

Defined in:
lib/flight.rb,
lib/flight/tap.rb,
lib/flight/package.rb,
lib/flight/version.rb,
lib/flight/brewfile.rb,
lib/flight/executable.rb,
lib/flight/brewfile/dsl.rb,
lib/flight/package/options.rb,
lib/flight/package/version.rb,
lib/flight/package/collection.rb

Overview

Flight is a dependency manager for your Homebrew packages. This is the base module that includes configuration, global attributes, and requires to the actual code. Most of the codebase lies in the data models of Package and Tap, with the Executable being the “controller” to the UI.

Defined Under Namespace

Classes: Brewfile, Executable, Package, Tap

Constant Summary collapse

DEBUG =
ENV['FLIGHT_DEBUG']
VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.debug?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/flight.rb', line 17

def self.debug?
  !!DEBUG
end

.versionObject



13
14
15
# File 'lib/flight.rb', line 13

def self.version
  VERSION
end