[前][次][番号順一覧][スレッド一覧]

ruby-changes:35789

From: zzak <ko1@a...>
Date: Sat, 11 Oct 2014 09:33:25 +0900 (JST)
Subject: [ruby-changes:35789] zzak:r47871 (trunk): * ext/socket/unixsocket.c: [DOC] Fix example to render in HTML

zzak	2014-10-11 09:33:08 +0900 (Sat, 11 Oct 2014)

  New Revision: 47871

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47871

  Log:
    * ext/socket/unixsocket.c: [DOC] Fix example to render in HTML
      properly, with a patch by @eval [Fixes GH-733]
      https://github.com/ruby/ruby/pull/733

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/unixsocket.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47870)
+++ ChangeLog	(revision 47871)
@@ -1,3 +1,9 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Oct 11 09:32:00 2014  Zachary Scott  <e@z...>
+
+	* ext/socket/unixsocket.c: [DOC] Fix example to render in HTML
+	  properly, with a patch by @eval [Fixes GH-733]
+	  https://github.com/ruby/ruby/pull/733
+
 Sat Oct 11 04:14:41 2014  Kir Shatrov  <shatrov@m...>
 
 	* lib/open-uri.rb (OpenURI::Options): add :open_timeout default
Index: ext/socket/unixsocket.c
===================================================================
--- ext/socket/unixsocket.c	(revision 47870)
+++ ext/socket/unixsocket.c	(revision 47871)
@@ -278,6 +278,8 @@ recvmsg_blocking(void *data) https://github.com/ruby/ruby/blob/trunk/ext/socket/unixsocket.c#L278
  * call-seq:
  *   unixsocket.recv_io([klass [, mode]]) => io
  *
+ * Example
+ *
  *   UNIXServer.open("/tmp/sock") {|serv|
  *     UNIXSocket.open("/tmp/sock") {|c|
  *       s = serv.accept
@@ -475,7 +477,7 @@ unix_peeraddr(VALUE sock) https://github.com/ruby/ruby/blob/trunk/ext/socket/unixsocket.c#L477
  *   UNIXSocket.pair([type [, protocol]])       => [unixsocket1, unixsocket2]
  *   UNIXSocket.socketpair([type [, protocol]]) => [unixsocket1, unixsocket2]
  *
- * Creates a pair of sockets connected each other.
+ * Creates a pair of sockets connected to each other.
  *
  * _socktype_ should be a socket type such as: :STREAM, :DGRAM, :RAW, etc.
  *

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]