aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/cmds/brew-server
diff options
context:
space:
mode:
authorMike McQuaid2013-01-26 13:16:55 +0000
committerMike McQuaid2013-01-26 13:16:55 +0000
commit21f1efcba65e036fcbc57da26af9bbd35a36e2d4 (patch)
tree6dfdf59241dbda9dcabc4be9a4a05afd3aba7192 /Library/Contributions/cmds/brew-server
parentbb8c22c90d9fe97a42f9524ad82d951782450c77 (diff)
downloadbrew-21f1efcba65e036fcbc57da26af9bbd35a36e2d4.tar.bz2
We use formulae as the plural of formula.
Diffstat (limited to 'Library/Contributions/cmds/brew-server')
-rwxr-xr-xLibrary/Contributions/cmds/brew-server6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Contributions/cmds/brew-server b/Library/Contributions/cmds/brew-server
index 435a4abfa..5c55c05fa 100755
--- a/Library/Contributions/cmds/brew-server
+++ b/Library/Contributions/cmds/brew-server
@@ -173,7 +173,7 @@ get '/formula/:name' do
end
-def installed_formulas
+def installed_formulae
Formula.select{|formula| formula.installed?}
end
@@ -182,7 +182,7 @@ get '/installed' do
s = <<-HTML
<html>
<head>
- <title>Installed Formulas</title>
+ <title>Installed formulae</title>
#{css_style}
</head>
<body>
@@ -190,7 +190,7 @@ get '/installed' do
<ul>
HTML
- installed_formulas.each do |formula|
+ installed_formulae.each do |formula|
s << "<li>#{link_to_formula(formula.name)}</li>"
end