aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2017-05-29 16:36:01 -0700
committerMisty De Meo2017-06-03 20:47:46 -0700
commit087035868aece3e4836ec69a72a0e3fdf96c64c0 (patch)
treed855ba10776e630e7c24b75f4eecd6d3dd8b07f5 /Library
parent4ffca8faa2fb055ec5a8329496fe0bfe532f223a (diff)
downloadbrew-087035868aece3e4836ec69a72a0e3fdf96c64c0.tar.bz2
AbstractCommand: fix return type of .abstract?
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb b/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb
index 7470e36db..cdb7f5ec8 100644
--- a/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb
+++ b/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb
@@ -15,7 +15,7 @@ module Hbc
end
def self.abstract?
- name.split("::").last =~ /^Abstract[^a-z]/
+ name.split("::").last.match?(/^Abstract[^a-z]/)
end
def self.visible