summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-01 03:13:11 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-01 03:13:11 +0000
commit64ac49e6fea659ff59d5db5f2dfdac4cef8e199c (patch)
tree77da589a31018d7cdaa5fd9dc037b7cd5bfdd50c
parentc4487ee06b3fb399ee7ad0122ee3f741d56f61f8 (diff)
* 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
-rw-r--r--lib/open3.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/open3.rb b/lib/open3.rb
index 134601c..a54e1b3 100644
--- a/lib/open3.rb
+++ b/lib/open3.rb
@@ -235,7 +235,7 @@ module Open3
# 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
# # 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)