提交 72d461ca 编写于 作者: M mkarlesky

changed grab_config to class method

git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@31 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
上级 d60fb214
class UnityTestRunnerGenerator
def grab_config(config_file)
def self.grab_config(config_file)
includes = []
options = {}
unless (config_file.nil? or config_file.empty?)
......@@ -203,7 +203,7 @@ if ($0 == __FILE__)
options[$1.to_sym] = 1
true
elsif (arg =~ /(\w+\.yml)/)
includes, options = grab_config($1)
includes, options = UnityTestRunnerGenerator::grab_config($1)
true
else
false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册