From 920ea359baab9c09da72aca330eddd2a3e5cce6a Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 7 Dec 2008 12:35:11 +0000 Subject: [PATCH] rdoc update. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/open3.rb | 2 ++ 1 file changed, 2 insertions(+) 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"