Module: Emoji

Defined in:
brew/Library/Homebrew/emoji.rb

Class Method Summary collapse

Class Method Details

.enabled?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'brew/Library/Homebrew/emoji.rb', line 9

def enabled?
  !ENV["HOMEBREW_NO_EMOJI"]
end

.install_badgeObject



5
6
7
# File 'brew/Library/Homebrew/emoji.rb', line 5

def install_badge
  ENV["HOMEBREW_INSTALL_BADGE"] || "🍺"
end