diff options
| author | Jack Nagel | 2014-04-07 18:49:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-07 18:50:42 -0500 |
| commit | b63fb8d086e2243149bc2feea7600d570cde514f (patch) | |
| tree | e82ec42f68339e674d7a8f267ed16c80539e2622 | |
| parent | af272e04c7167d348d2363a5e02bba4029b903c7 (diff) | |
| download | brew-b63fb8d086e2243149bc2feea7600d570cde514f.tar.bz2 | |
GithubGistFormula doesn't need to know the exact signature of initialize
| -rw-r--r-- | Library/Homebrew/formula_specialties.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_specialties.rb b/Library/Homebrew/formula_specialties.rb index 807d5b643..eab8de540 100644 --- a/Library/Homebrew/formula_specialties.rb +++ b/Library/Homebrew/formula_specialties.rb @@ -9,7 +9,7 @@ end # See browser for an example class GithubGistFormula < ScriptFileFormula - def initialize name='__UNKNOWN__', path=nil + def initialize(*) url = self.class.stable.url self.class.stable.version(File.basename(File.dirname(url))[0,6]) super |
