summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-07 12:35:11 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-07 12:35:11 +0000
commit920ea359baab9c09da72aca330eddd2a3e5cce6a (patch)
treef1090b798093d9a4cbd8ca70745190a3679fde37 /lib
parent7c20c4ec02e5cf3da75954b17fa4a9bb303414eb (diff)
rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/open3.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/open3.rb b/lib/open3.rb
index 459bee4607..6e5ba3dbd4 100644
--- a/lib/open3.rb
+++ b/lib/open3.rb
@@ -285,6 +285,8 @@ module Open3
#
# If opts[:binmode] is true, internal pipes are set to binary mode.
#
+ # Example:
+ #
# # factor is a command for integer factorization.
# o, s = Open3.capture2("factor", :stdin_data=>"42")
# p o #=> "42: 2 3 7\n"