aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2016-08-25 20:28:44 +0100
committerDominyk Tiller2016-08-28 03:08:14 +0100
commit98155a55267e145f2816446913fa0796f49c35a7 (patch)
treee44e7e22c910b63b54e00aac2bc4e205b6c01e12 /Library
parent7c5e149b1b56f59ce36dae145961d5ceb6cd3ac9 (diff)
downloadbrew-98155a55267e145f2816446913fa0796f49c35a7.tar.bz2
formulary: translate @ to AT for classname
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formulary.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb
index 9d385fc51..162385e60 100644
--- a/Library/Homebrew/formulary.rb
+++ b/Library/Homebrew/formulary.rb
@@ -57,6 +57,7 @@ class Formulary
class_name = name.capitalize
class_name.gsub!(/[-_.\s]([a-zA-Z0-9])/) { $1.upcase }
class_name.tr!("+", "x")
+ class_name.gsub!(/\b@\b/, "AT")
class_name
end