Module: Emoji

Defined in:
Library/Homebrew/emoji.rb,
Library/Homebrew/extend/os/mac/emoji.rb

Class Method Summary collapse

Class Method Details

.enabled?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'Library/Homebrew/emoji.rb', line 7

def enabled?
  !ENV["HOMEBREW_NO_EMOJI"]
end

.generic_enabled?Boolean

Returns:

  • (Boolean)


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

def enabled?
  !ENV["HOMEBREW_NO_EMOJI"]
end

.install_badgeObject



3
4
5
# File 'Library/Homebrew/emoji.rb', line 3

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