diff options
Diffstat (limited to 'Library/Homebrew')
| -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 |
