From d25b4e40c11efe9bfb08c3bd79c11d001adb50b6 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 3 Apr 2013 18:06:34 -0500 Subject: brew-server: clean up --- Library/Contributions/cmd/brew-server | 136 ++++++++++++++++------------------ 1 file changed, 65 insertions(+), 71 deletions(-) (limited to 'Library') diff --git a/Library/Contributions/cmd/brew-server b/Library/Contributions/cmd/brew-server index b18bddcef..399fe6839 100755 --- a/Library/Contributions/cmd/brew-server +++ b/Library/Contributions/cmd/brew-server @@ -21,39 +21,36 @@ end require 'cgi' - def link_to_formula name "#{name}" end -def css_style - <<-CSS - - +def css_style; <<-CSS + + CSS end -def search_form - <<-EOS -
+def search_form; <<-EOS + EOS end @@ -74,31 +71,35 @@ def html_page(title)