aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-04-07 18:49:38 -0500
committerJack Nagel2014-04-07 18:50:42 -0500
commitb63fb8d086e2243149bc2feea7600d570cde514f (patch)
treee82ec42f68339e674d7a8f267ed16c80539e2622 /Library
parentaf272e04c7167d348d2363a5e02bba4029b903c7 (diff)
downloadbrew-b63fb8d086e2243149bc2feea7600d570cde514f.tar.bz2
GithubGistFormula doesn't need to know the exact signature of initialize
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_specialties.rb2
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