lib/inch/config/codebase.rb in inch-0.4.10 vs lib/inch/config/codebase.rb in inch-0.5.0.rc1

- old
+ new

@@ -25,11 +25,11 @@ def update(&block) instance_eval(&block) end def update_via_yaml(dir) - if (yaml = self.class.yaml(dir)) + if yaml = self.class.yaml(dir) Dir.chdir(dir) do update_files yaml["files"] end end end @@ -55,11 +55,11 @@ end.flatten end def update_files(files) return if files.nil? - @included_files = expand_files(files["included"]) if files["included"] - @excluded_files = expand_files(files["excluded"]) if files["excluded"] + include_files expand_files(files["included"]) if files["included"] + exclude_files expand_files(files["excluded"]) if files["excluded"] end end end -end +end \ No newline at end of file