diff options
| author | Markus Reiter | 2016-10-01 20:15:17 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-10-01 20:15:17 +0200 |
| commit | 1eab17235ca80c86850d1079ccb255b076d4b557 (patch) | |
| tree | 3b21e6e1a250fa6f0d01b567cffa8b7044673962 /Library/Homebrew | |
| parent | 884b26850615d5624e09762e1ae8bc5b104a934a (diff) | |
| download | brew-1eab17235ca80c86850d1079ccb255b076d4b557.tar.bz2 | |
Add temporary compatibility layer for `Tty.white`.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/compat.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/compat/utils.rb | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/Library/Homebrew/compat.rb b/Library/Homebrew/compat.rb index eabc7dfa0..98624aebd 100644 --- a/Library/Homebrew/compat.rb +++ b/Library/Homebrew/compat.rb @@ -15,3 +15,4 @@ require "compat/dependency_collector" require "compat/language/haskell" require "compat/xcode" require "compat/software_spec" +require "compat/utils" diff --git a/Library/Homebrew/compat/utils.rb b/Library/Homebrew/compat/utils.rb index 7de5e85c3..7b529f04e 100644 --- a/Library/Homebrew/compat/utils.rb +++ b/Library/Homebrew/compat/utils.rb @@ -8,3 +8,11 @@ def shell_profile else "~/.bash_profile" end end + +module Tty + module_function + + def white + reset.bold + end +end |
