From 1eab17235ca80c86850d1079ccb255b076d4b557 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 1 Oct 2016 20:15:17 +0200 Subject: Add temporary compatibility layer for `Tty.white`. --- Library/Homebrew/compat.rb | 1 + Library/Homebrew/compat/utils.rb | 8 ++++++++ 2 files changed, 9 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3