[Groonga-commit] droonga/grn2drn at 8153f41 [master] Remove needless function

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 10 10:23:22 JST 2014


YUKI Hiroshi	2014-07-10 10:23:22 +0900 (Thu, 10 Jul 2014)

  New Revision: 8153f41ffaa7492af1f0113d72d362e3c6c05f33
  https://github.com/droonga/grn2drn/commit/8153f41ffaa7492af1f0113d72d362e3c6c05f33

  Message:
    Remove needless function

  Modified files:
    bin/grn2drn

  Modified: bin/grn2drn (+0 -10)
===================================================================
--- bin/grn2drn    2014-04-04 17:22:00 +0900 (ad8f71c)
+++ bin/grn2drn    2014-07-10 10:23:22 +0900 (0b88423)
@@ -76,16 +76,6 @@ convert_options = {
 }
 converter = Grn2Drn::CommandConverter.new(convert_options)
 
-def open_input(source_file)
-  if source_file.nil?
-    yield($stdin)
-  else
-    File.open(source_file) do |input|
-      yield(input)
-    end
-  end
-end
-
 def open_output(path)
   if path == "-"
     yield($stdout)
-------------- next part --------------
HTML����������������������������...
Download 



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