SUZUKI Miho
null+****@clear*****
Wed Nov 14 10:54:42 JST 2012
SUZUKI Miho 2012-11-14 10:54:42 +0900 (Wed, 14 Nov 2012) New Revision: 76bfade7f29b3df8bf86bea57c8579df9f62ce9e https://github.com/logaling/logaling-command/commit/76bfade7f29b3df8bf86bea57c8579df9f62ce9e Log: Just move Modified files: lib/logaling/repository.rb Modified: lib/logaling/repository.rb (+5 -5) =================================================================== --- lib/logaling/repository.rb 2012-11-13 08:59:33 +0900 (faf6180) +++ lib/logaling/repository.rb 2012-11-14 10:54:42 +0900 (5205ff0) @@ -145,11 +145,6 @@ module Logaling [registered_project_paths, imported_glossary_paths].map(&:size).inject(&:+) end - def config_path - path = File.join(@path, "config") - File.exist?(path) ? path : nil - end - def find_project(project_name) projects.detect {|project| project.name == project_name } end @@ -161,6 +156,11 @@ module Logaling project ? project.glossary(source_language, target_language) : nil end + def config_path + path = File.join(@path, "config") + File.exist?(path) ? path : nil + end + def logaling_db_home File.join(@path, "db") end -------------- next part -------------- An HTML attachment was scrubbed... Descargar