クラス
- BasicSocket (12)
-
RSS
:: ImageFaviconModel :: ImageFavicon (24) -
RSS
:: ImageItemModel :: ImageItem (24) -
RSS
:: Maker :: ChannelBase (24) -
RSS
:: RDF :: Channel (24) -
RSS
:: RDF :: Channel :: ImageFavicon (24) -
RSS
:: RDF :: Image (24) -
RSS
:: RDF :: Item (24) -
RSS
:: RDF :: Textinput (24) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (24) -
RSS
:: TrackBackModel10 :: TrackBackAbout (48) -
RSS
:: TrackBackModel20 :: TrackBackAbout (48) - Socket (12)
モジュール
- Enumerable (12)
- Kernel (24)
-
RSS
:: BaseTrackBackModel (36) -
Socket
:: Constants (12)
キーワード
-
$ CHILD _ STATUS (12) -
$ LAST _ MATCH _ INFO (12) - ChannelBase (12)
-
NEWS for Ruby 3
. 0 . 0 (5) -
TCP
_ INFO (24) - TrackBackAbout (24)
- about= (108)
- chunk (12)
- content (12)
- content= (12)
- getpeereid (12)
- resource (12)
- resource= (12)
- rss (12)
-
trackback
_ about (12) -
trackback
_ about= (12) -
trackback
_ abouts (12) - value (24)
- value= (24)
検索結果
先頭5件
-
Socket
:: Constants :: TCP _ INFO -> Integer (16.0) -
Retrieve information about this socket。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...Retrieve information about this socket。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see tcp(4freebsd), tcp(7linux)... -
Socket
:: TCP _ INFO -> Integer (16.0) -
Retrieve information about this socket。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
...Retrieve information about this socket。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see tcp(4freebsd), tcp(7linux)... -
BasicSocket
# getpeereid -> [Integer , Integer] (6.0) -
Unix ドメインソケットにおいて接続相手の euid と egid を 返します。
...です。
require 'socket'
Socket.unix_server_loop("/tmp/sock") {|s|
begin
euid, egid = s.getpeereid
# Check the connected client is myself or not.
next if euid != Process.uid
# do something about my resource.
ensure
s.close
end
}... -
Enumerable
# chunk {|elt| . . . } -> Enumerator (6.0) -
要素を前から順にブロックで評価し、その結果によって 要素をチャンクに分けた(グループ化した)要素を持つ Enumerator を返します。
...on.\n",
# "\n"]
# ["r16725 | knu | 2008-05-31 23:34:23 +0900 (Sat, 31 May 2008) | 2 lines\n",
# "\n",
# "* README, README.ja: Add a note about default C flags.\n",
# "\n"]
# ...
//}
テキストを空行で区切られた段落に分けたい場合にも nil が使えます。
//em... -
Kernel
$ $ CHILD _ STATUS -> Process :: Status | nil (6.0) -
$? の別名
...$? の別名
require "English"
out = `wget https://www.ruby-lang.org/en/about/license.txt -O - 2>/dev/null`
if $CHILD_STATUS.to_i == 0
print "wget success\n"
out.split(/\n/).each { |line|
printf "%s\n", line
}
else
print "wget failed\n"
end... -
NEWS for Ruby 3
. 0 . 0 (6.0) -
NEWS for Ruby 3.0.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
....set_scheduler for intercepting blocking operations and Fiber.scheduler for accessing the current scheduler. See rdoc-ref:fiber.md for more details about what operations are supported and how to implement the scheduler hooks. 16786
* Fiber.blocking? tells whether the current execution context is... -
RSS
:: Maker :: ChannelBase (6.0) -
channel要素の値を設定します.
...channel要素の値を設定します.
RSS 1.0を生成する場合はabout,title,link,
descriptionを設定しなければいけません.
RSS 0.91を生成する場合はtitle,link,
description,languageを設定しなければいけません.
RSS 2.0を生成する場合はtit...