ruby-changes:31862
From: a_matsuda <ko1@a...>
Date: Sun, 1 Dec 2013 12:13:15 +0900 (JST)
Subject: [ruby-changes:31862] a_matsuda:r43941 (trunk): * lib/open3.rb: [DOC] Fix typo (s/thumnail/thumbnail/)
a_matsuda 2013-12-01 12:13:11 +0900 (Sun, 01 Dec 2013) New Revision: 43941 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43941 Log: * lib/open3.rb: [DOC] Fix typo (s/thumnail/thumbnail/) [ci skip] Modified files: trunk/lib/open3.rb Index: lib/open3.rb =================================================================== --- lib/open3.rb (revision 43940) +++ lib/open3.rb (revision 43941) @@ -235,7 +235,7 @@ module Open3 https://github.com/ruby/ruby/blob/trunk/lib/open3.rb#L235 # p e #=> "bar\nbaz\nfoo\n" # p s #=> #<Process::Status: pid 32682 exit 0> # - # # 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 https://github.com/ruby/ruby/blob/trunk/lib/open3.rb#L243 # # 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/