diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-10 01:34:50 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-10 01:34:50 +0000 |
commit | ffc068c9bba4c731b06f7e4391fb6a33e101f334 (patch) | |
tree | fa0414841c5611c0b73a6ca0e7b8163e1738466e /lib/open3.rb | |
parent | 31a1d0621c391d2d58918d51f0505e3044876822 (diff) | |
download | ruby-ffc068c9bba4c731b06f7e4391fb6a33e101f334.tar.gz |
* lib/cgi/session/pstore.rb: separated sample code.
* lib/open3.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/open3.rb')
-rw-r--r-- | lib/open3.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/open3.rb b/lib/open3.rb index 543be75a14..e80b1cd385 100644 --- a/lib/open3.rb +++ b/lib/open3.rb @@ -661,16 +661,3 @@ module Open3 end end - -if $0 == __FILE__ - a = Open3.popen3("nroff -man") - Thread.start do - while line = gets - a[0].print line - end - a[0].close - end - while line = a[1].gets - print ":", line - end -end |