aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/global.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/global.rb')
-rw-r--r--Library/Homebrew/global.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb
index 91692c146..0cd0d57e6 100644
--- a/Library/Homebrew/global.rb
+++ b/Library/Homebrew/global.rb
@@ -43,10 +43,10 @@ module Homebrew
extend self
attr_accessor :failed
- alias_method :failed?, :failed
+ alias failed? failed
attr_accessor :raise_deprecation_exceptions
- alias_method :raise_deprecation_exceptions?, :raise_deprecation_exceptions
+ alias raise_deprecation_exceptions? raise_deprecation_exceptions
end
HOMEBREW_PULL_API_REGEX = %r{https://api\.github\.com/repos/([\w-]+)/([\w-]+)?/pulls/(\d+)}