Kouhei Sutou
null+****@clear*****
Mon Mar 17 14:26:49 JST 2014
Kouhei Sutou 2014-03-17 14:26:49 +0900 (Mon, 17 Mar 2014) New Revision: 3e3e803764235e1f17a64a102b0a29e7601f1103 https://github.com/droonga/grn2drn/commit/3e3e803764235e1f17a64a102b0a29e7601f1103 Message: Use $stdin as the default input instead of STDIN $stdin is the current default input. STDIN is just the default $stdin. Modified files: bin/grn2drn Modified: bin/grn2drn (+1 -1) =================================================================== --- bin/grn2drn 2014-03-17 14:26:09 +0900 (51630cf) +++ bin/grn2drn 2014-03-17 14:26:49 +0900 (df863bc) @@ -71,7 +71,7 @@ result_file = args[1] def open_input(source_file) if source_file.nil? - yield(STDIN) + yield($stdin) else File.open(source_file) do |input| yield(input) -------------- next part -------------- HTML����������������������������...Download