Module: BrewLib

Defined in:
lib/brew_lib.rb,
lib/brew_lib/version.rb

Overview

BrewLib

Defined Under Namespace

Classes: CLI, Error

Constant Summary collapse

NAME =
Pathname.new(__FILE__).basename.sub_ext("").to_s
VERSION =
"0.1.20"

Class Method Summary collapse

Class Method Details

.post_buildObject



24
25
26
27
# File 'lib/brew_lib.rb', line 24

def self.post_build
  # noinspection RubyNilAnalysis
  puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
end

.post_installObject



29
30
31
32
# File 'lib/brew_lib.rb', line 29

def self.post_install
  # noinspection RubyNilAnalysis
  puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
end

.post_uninstallObject



34
35
36
37
# File 'lib/brew_lib.rb', line 34

def self.post_uninstall
  # noinspection RubyNilAnalysis
  puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
end

.pre_installObject



14
15
16
17
# File 'lib/brew_lib.rb', line 14

def self.pre_install
  # noinspection RubyNilAnalysis
  puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
end

.pre_uninstallObject



19
20
21
22
# File 'lib/brew_lib.rb', line 19

def self.pre_uninstall
  # noinspection RubyNilAnalysis
  puts "Running #{__method__} => #{NAME} (#{BrewLib::VERSION})"
end