[logaling-commit] logaling/logaling-command [change-glossarysourcepath-fullpath-to-relativepath] Remove temporary variable 'basepath'

Back to archive index

SHIMADA Koji null+****@clear*****
Wed Nov 21 14:52:31 JST 2012


SHIMADA Koji	2012-11-21 14:52:31 +0900 (Wed, 21 Nov 2012)

  New Revision: 46f7cc985a8323b28ecaffbaf6d57284889eccf9
  https://github.com/logaling/logaling-command/commit/46f7cc985a8323b28ecaffbaf6d57284889eccf9

  Log:
    Remove temporary variable 'basepath'

  Modified files:
    lib/logaling/project.rb

  Modified: lib/logaling/project.rb (+1 -2)
===================================================================
--- lib/logaling/project.rb    2012-11-21 14:47:39 +0900 (faae344)
+++ lib/logaling/project.rb    2012-11-21 14:52:31 +0900 (ec9fa7f)
@@ -58,8 +58,7 @@ module Logaling
     end
 
     def glossary_source_path
-      basepath =****@repos*****_path(@path)
-      File.join(basepath, "glossary")
+      File.join(@repository.expand_path(@path), "glossary")
     end
     alias_method :source_directory_path, :glossary_source_path
 
-------------- next part --------------
An HTML attachment was scrubbed...
下載 



More information about the logaling-commit mailing list
Back to archive index