GithubGistFormula doesn't need to know the exact signature of initialize
This commit is contained in:
parent
af272e04c7
commit
b63fb8d086
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user