mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/socket/*.c: Add proper require for example to work.
[fix GH-1378][ci skip] Patch by @schneems git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0d81bbcbbc
commit
4043565023
9 changed files with 21 additions and 0 deletions
|
@ -17,6 +17,8 @@
|
|||
*
|
||||
* Creates a new UNIX server socket bound to _path_.
|
||||
*
|
||||
* require 'socket'
|
||||
*
|
||||
* serv = UNIXServer.new("/tmp/sock")
|
||||
* s = serv.accept
|
||||
* p s.read
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue