[logaling-commit] logaling/logaling-command [import-gene95] Remove unnecessary local validable

Back to archive index

null+****@clear***** null+****@clear*****
Fri Jan 20 17:45:07 JST 2012


SHIMADA Koji	2012-01-20 17:45:07 +0900 (Fri, 20 Jan 2012)

  New Revision: 32ac392091b9b16d1bdee89ca22a2f0ed87774ae

  Log:
    Remove unnecessary local validable

  Modified files:
    lib/logaling/external_glossaries/gene95.rb

  Modified: lib/logaling/external_glossaries/gene95.rb (+1 -2)
===================================================================
--- lib/logaling/external_glossaries/gene95.rb    2012-01-19 21:51:57 +0900 (005f3cc)
+++ lib/logaling/external_glossaries/gene95.rb    2012-01-20 17:45:07 +0900 (b77b776)
@@ -23,8 +23,7 @@ module Logaling
     target_language 'ja'
 
     def convert
-      buffer = ""
-      CSV.generate(buffer) do |csv|
+      CSV.generate do |csv|
         puts "downloading gene95 dictionary..."
         Zlib::GzipReader.open(open('http://www.namazu.org/~tsuchiya/sdic/data/gene95.tar.gz')) do |gz|
           contents = false




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