lib/rake/delphi/project.rb in rake-delphi-0.0.21 vs lib/rake/delphi/project.rb in rake-delphi-0.0.22
- old
+ new
@@ -38,10 +38,10 @@
self[:includepaths] = ['.'] unless self[:includepaths]
self[:includepaths] |= @libs.libs_relative(@level)
@dcc.init_libs(self[:includepaths])
end
- def init(module_name, rake_file, vars, level = 1)
+ def init(module_name, rake_file, vars, level)
@level = level
module_name = module_name.dup.shift.to_s
self[:projectlabel] = eval("#{module_name}::PROJECT_NAME")
projectfile = eval("#{module_name}::PROJECT_FILE")
self[:projectfile] = File.dirname2(rake_file) + File.separator + projectfile