null+****@clear*****
null+****@clear*****
Mon Jun 11 11:59:42 JST 2012
SUZUKI Miho 2012-06-11 11:59:42 +0900 (Mon, 11 Jun 2012) New Revision: afe0cdd368f72d36848db3acde359e5536bdf64d Log: Correct how to use Project.new Modified files: lib/logaling/repository.rb Modified: lib/logaling/repository.rb (+2 -3) =================================================================== --- lib/logaling/repository.rb 2012-06-11 11:30:05 +0900 (334d350) +++ lib/logaling/repository.rb 2012-06-11 11:59:42 +0900 (d108dde) @@ -93,9 +93,8 @@ module Logaling end def projects - imported_projects = imported_glossaries.map {|path| get_glossary(path).shift} - (imported_projects | registered_projects).sort.map do |project_name| - Logaling::Project.new(project_name) + (imported_glossaries | registered_projects).sort.map do |project_path| + Logaling::Project.new(project_path) end end