Remove another reference to subformulae

This commit is contained in:
Jack Nagel 2014-03-03 18:15:21 -06:00
parent 75dd75bd24
commit 3b76987fd7

View File

@ -10,9 +10,7 @@ require 'formula'
# Ruby classes have to start Upper case and dashes are not allowed. # Ruby classes have to start Upper case and dashes are not allowed.
# So we transform: `example-formula.rb` into `ExampleFormula`. Further, # So we transform: `example-formula.rb` into `ExampleFormula`. Further,
# Homebrew does enforce that the name of the file and the class correspond. # Homebrew does enforce that the name of the file and the class correspond.
# Check with `brew search` that the name is free. A file may contain multiple # Check with `brew search` that the name is free.
# classes (we call them sub-formulae) but the main one is the class that
# corresponds to the filename.
class ExampleFormula < Formula class ExampleFormula < Formula
homepage 'http://www.example.com' # used by `brew home example-formula`. homepage 'http://www.example.com' # used by `brew home example-formula`.