GithubGistFormula doesn't need to know the exact signature of initialize

This commit is contained in:
Jack Nagel 2014-04-07 18:49:38 -05:00
parent af272e04c7
commit b63fb8d086

View File

@ -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