SHIMADA Koji
null+****@clear*****
Thu Aug 16 18:34:35 JST 2012
SHIMADA Koji 2012-08-16 18:34:35 +0900 (Thu, 16 Aug 2012) New Revision: af69111137fced4b22da265671d7c71bec914610 https://github.com/logaling/logaling-command/commit/af69111137fced4b22da265671d7c71bec914610 Merged 0b973f2: Merge pull request #76 from logaling/add-loga-copy Log: Remove temporary variavle 'glossary_new' Modified files: lib/logaling/command/application.rb Modified: lib/logaling/command/application.rb (+1 -2) =================================================================== --- lib/logaling/command/application.rb 2012-08-16 18:31:03 +0900 (5cc420b) +++ lib/logaling/command/application.rb 2012-08-16 18:34:35 +0900 (ee9bd5c) @@ -366,8 +366,7 @@ module Logaling::Command end project_new =****@repos*****_personal_project(new_project_name, new_source_language, new_target_language) - glossary_new = project_new.glossary(new_source_language, new_target_language) - glossary_new.copy_from(glossary_original) + project_new.glossary(new_source_language, new_target_language).copy_from(glossary_original) rescue Logaling::CommandFailed, Logaling::GlossaryAlreadyRegistered, Logaling::GlossaryNotFound => e say e.message end -------------- next part -------------- An HTML attachment was scrubbed... 다운로드