From 64ac49e6fea659ff59d5db5f2dfdac4cef8e199c Mon Sep 17 00:00:00 2001 From: a_matsuda Date: Sun, 1 Dec 2013 03:13:11 +0000 Subject: * lib/open3.rb: [DOC] Fix typo (s/thumnail/thumbnail/) [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/open3.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/open3.rb') diff --git a/lib/open3.rb b/lib/open3.rb index 134601c907..a54e1b3886 100644 --- a/lib/open3.rb +++ b/lib/open3.rb @@ -235,7 +235,7 @@ module Open3 # p e #=> "bar\nbaz\nfoo\n" # p s #=> # # - # # generate a thumnail image using the convert command of ImageMagick. + # # generate a thumbnail image using the convert command of ImageMagick. # # However, if the image is really stored in a file, # # system("convert", "-thumbnail", "80", "png:#{filename}", "png:-") is better # # because of reduced memory consumption. @@ -243,9 +243,9 @@ module Open3 # # Open3.capture3 should be considered. # # # image = File.read("/usr/share/openclipart/png/animals/mammals/sheep-md-v0.1.png", :binmode=>true) - # thumnail, err, s = Open3.capture3("convert -thumbnail 80 png:- png:-", :stdin_data=>image, :binmode=>true) + # thumbnail, err, s = Open3.capture3("convert -thumbnail 80 png:- png:-", :stdin_data=>image, :binmode=>true) # if s.success? - # STDOUT.binmode; print thumnail + # STDOUT.binmode; print thumbnail # end # def capture3(*cmd, stdin_data: '', binmode: false, **opts) -- cgit v1.2.3