Always use IO.read vs IO.readlines.join
git-svn-id: file:///home/svn/framework3/trunk@4212 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
8a922d0641
commit
ea23e52706
|
@ -140,7 +140,7 @@ case cmd
|
||||||
$stderr.puts(OutError + "Invalid encoder specified.")
|
$stderr.puts(OutError + "Invalid encoder specified.")
|
||||||
end
|
end
|
||||||
when "encode"
|
when "encode"
|
||||||
buf = input.readlines.join
|
buf = input.read
|
||||||
|
|
||||||
encoders.each { |enc|
|
encoders.each { |enc|
|
||||||
next if not enc
|
next if not enc
|
||||||
|
|
Loading…
Reference in New Issue