ruby-changes:9035
From: akr <ko1@a...>
Date: Sun, 7 Dec 2008 21:35:18 +0900 (JST)
Subject: [ruby-changes:9035] Ruby:r20571 (trunk): rdoc update.
akr 2008-12-07 21:35:11 +0900 (Sun, 07 Dec 2008) New Revision: 20571 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=20571 Log: rdoc update. Modified files: trunk/lib/open3.rb Index: lib/open3.rb =================================================================== --- lib/open3.rb (revision 20570) +++ lib/open3.rb (revision 20571) @@ -285,6 +285,8 @@ # # 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" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/