ライブラリ
- ビルトイン (4)
-
cgi
/ session (1) -
net
/ imap (1) -
net
/ smtp (5) - openssl (2)
- resolv (3)
- rss (6)
-
rubygems
/ dependency _ installer (2) - socket (160)
-
webrick
/ config (1)
クラス
- Addrinfo (4)
-
CGI
:: Cookie (3) -
CGI
:: Session (1) -
Gem
:: DependencyInstaller (2) - Integer (2)
-
Net
:: IMAP :: Address (1) -
Net
:: SMTP (5) -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase (2) -
RSS
:: Rss :: Channel :: Cloud (2) -
RSS
:: Rss :: Channel :: Item :: Category (2) -
Resolv
:: DNS :: Name (1) -
Resolv
:: DNS :: Resource :: DomainName (1) - Socket (78)
-
Socket
:: AncillaryData (1) - UNIXSocket (2)
-
WEBrick
:: Cookie (2)
モジュール
-
OpenSSL
:: Random (2) -
Socket
:: Constants (74) -
WEBrick
:: Config (1)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) -
AF
_ APPLETALK (2) -
AF
_ ATM (2) -
AF
_ AX25 (2) -
AF
_ CCITT (2) -
AF
_ CHAOS (2) -
AF
_ CNT (2) -
AF
_ COIP (2) -
AF
_ DATAKIT (2) -
AF
_ DEC (2) -
AF
_ DLI (2) -
AF
_ E164 (2) -
AF
_ ECMA (2) -
AF
_ HYLINK (2) -
AF
_ IMPLINK (2) -
AF
_ INET (2) -
AF
_ INET6 (2) -
AF
_ IPX (2) -
AF
_ ISDN (2) -
AF
_ ISO (2) -
AF
_ LAT (2) -
AF
_ LINK (2) -
AF
_ LOCAL (2) -
AF
_ NATM (2) -
AF
_ NDRV (2) -
AF
_ NETBIOS (2) -
AF
_ NETGRAPH (2) -
AF
_ NS (2) -
AF
_ OSI (2) -
AF
_ PACKET (2) -
AF
_ PPP (2) -
AF
_ PUP (2) -
AF
_ ROUTE (2) -
AF
_ SIP (2) -
AF
_ SNA (2) -
AF
_ SYSTEM (2) -
AF
_ UNIX (2) - Addrinfo (1)
- Cookie (1)
-
DEFAULT
_ OPTIONS (1) - DigestAuth (1)
- DomainError (1)
- DomainName (1)
- FloatDomainError (1)
-
PF
_ APPLETALK (2) -
PF
_ ATM (2) -
PF
_ AX25 (2) -
PF
_ CCITT (2) -
PF
_ CHAOS (2) -
PF
_ CNT (2) -
PF
_ COIP (2) -
PF
_ DATAKIT (2) -
PF
_ DEC (2) -
PF
_ DLI (2) -
PF
_ ECMA (2) -
PF
_ HYLINK (2) -
PF
_ IMPLINK (2) -
PF
_ INET (2) -
PF
_ INET6 (2) -
PF
_ IPX (2) -
PF
_ ISDN (2) -
PF
_ ISO (2) -
PF
_ KEY (2) -
PF
_ LAT (2) -
PF
_ LINK (2) -
PF
_ LOCAL (2) -
PF
_ NATM (2) -
PF
_ NDRV (2) -
PF
_ NETBIOS (2) -
PF
_ NETGRAPH (2) -
PF
_ NS (2) -
PF
_ OSI (2) -
PF
_ PACKET (2) -
PF
_ PIP (2) -
PF
_ PPP (2) -
PF
_ PUP (2) -
PF
_ ROUTE (2) -
PF
_ RTIP (2) -
PF
_ SIP (2) -
PF
_ SNA (2) -
PF
_ SYSTEM (2) -
PF
_ UNIX (2) - digits (2)
- domain= (5)
- egd (1)
-
egd
_ bytes (1) - ehlo (1)
-
family
_ addrinfo (2) - helo (1)
- name (1)
- new (4)
- open (1)
- pair (2)
- route (1)
-
send
_ mail (1) - sendmail (1)
- socketpair (2)
-
subdomain
_ of? (1) - unix? (1)
-
unix
_ path (1) -
unix
_ rights (1)
検索結果
先頭5件
-
WEBrick
:: Cookie # domain -> String (72907.0) -
ドメイン名を文字列で表すアクセサです。
ドメイン名を文字列で表すアクセサです。
@param value ドメイン名を表す文字列を指定します。 -
CGI
:: Cookie # domain -> String (72904.0) -
クッキーを適用するドメインを返します。
クッキーを適用するドメインを返します。 -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain (72607.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Cloud # domain (72607.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Category # domain (72607.0) -
@todo
@todo -
Resolv
:: DNS :: Name # subdomain _ of?(other) -> bool (36727.0) -
other が self のサブドメインであるかどうかを返します。
other が self のサブドメインであるかどうかを返します。
//emlist[][ruby]{
require "resolv"
domain = Resolv::DNS::Name.create("y.z")
p Resolv::DNS::Name.create("w.x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("x.y.z").subdomain_of?(domain) #=> true
p Resolv::DNS::Name.create("y.z").subdomain_of?(domai... -
RSS
:: Maker :: ChannelBase :: CategoriesBase :: CategoryBase # domain=() (36607.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Cloud # domain= (36607.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item :: Category # domain= (36607.0) -
@todo
@todo -
WEBrick
:: Cookie # domain=(value) (36607.0) -
ドメイン名を文字列で表すアクセサです。
ドメイン名を文字列で表すアクセサです。
@param value ドメイン名を表す文字列を指定します。 -
CGI
:: Cookie # domain=(value) (36604.0) -
クッキーを適用するドメインをセットします。
クッキーを適用するドメインをセットします。
@param value ドメインを指定します。 -
FloatDomainError (36001.0)
-
正負の無限大や NaN (Not a Number) を Bignum に変換しようとしたり、 NaN との比較を行ったときに発生します。
正負の無限大や NaN (Not a Number) を Bignum に変換しようとしたり、
NaN との比較を行ったときに発生します。 -
Math
:: DomainError (36001.0) -
数学関数(module Math のモジュール関数)で与えた引数が定義域 に含まれていない場合に発生します。
数学関数(module Math のモジュール関数)で与えた引数が定義域
に含まれていない場合に発生します。 -
Resolv
:: DNS :: Resource :: DomainName (36001.0) -
DNSリソースのドメイン名を表す抽象クラスです。
DNSリソースのドメイン名を表す抽象クラスです。 -
Addrinfo
# family _ addrinfo(host , port) -> Addrinfo (27319.0) -
引数から自身に「似た」Addrinfo オブジェクトを生成します。
引数から自身に「似た」Addrinfo オブジェクトを生成します。
「似た」の意味はプロトコルファミリ、ソケットタイプ、プロトコルが
同じことを意味します。
require 'socket'
Addrinfo.tcp("0.0.0.0", 4649).family_addrinfo("www.ruby-lang.org", 80)
#=> #<Addrinfo: 221.186.184.68:80 TCP (www.ruby-lang.org:80)>
Addrinfo.unix("/tmp/sock").family_addrinfo("/tmp/sock2")... -
Addrinfo
# family _ addrinfo(path) -> Addrinfo (27319.0) -
引数から自身に「似た」Addrinfo オブジェクトを生成します。
引数から自身に「似た」Addrinfo オブジェクトを生成します。
「似た」の意味はプロトコルファミリ、ソケットタイプ、プロトコルが
同じことを意味します。
require 'socket'
Addrinfo.tcp("0.0.0.0", 4649).family_addrinfo("www.ruby-lang.org", 80)
#=> #<Addrinfo: 221.186.184.68:80 TCP (www.ruby-lang.org:80)>
Addrinfo.unix("/tmp/sock").family_addrinfo("/tmp/sock2")... -
Socket
:: AF _ HYLINK -> Integer (18649.0) -
@todo NSC Hyperchannel。 Socket.open の第一引数 domain に使用します。
@todo
NSC Hyperchannel。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ INET -> Integer (18649.0) -
IPv4。 Socket.open の第一引数 domain に使用します。
IPv4。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), socket(2freebsd), ip(7linux) -
Socket
:: AF _ INET6 -> Integer (18649.0) -
IPv6。 Socket.open の第一引数 domain に使用します。
IPv6。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), socket(2freebsd), ipv6(7linux) -
Socket
:: AF _ LINK -> Integer (18649.0) -
@todo Link layer interface。 Socket.open の第一引数 domain に使用します。
@todo
Link layer interface。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ HYLINK -> Integer (18649.0) -
@todo NSC Hyperchannel。 Socket.open の第一引数 domain に使用します。
@todo
NSC Hyperchannel。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ INET -> Integer (18649.0) -
IPv4。 Socket.open の第一引数 domain に使用します。
IPv4。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), socket(2freebsd), ip(7linux) -
Socket
:: Constants :: AF _ INET6 -> Integer (18649.0) -
IPv6。 Socket.open の第一引数 domain に使用します。
IPv6。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), socket(2freebsd), ipv6(7linux) -
Socket
:: Constants :: AF _ LINK -> Integer (18649.0) -
@todo Link layer interface。 Socket.open の第一引数 domain に使用します。
@todo
Link layer interface。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ HYLINK -> Integer (18649.0) -
@todo NSC Hyperchannel。 Socket.open の第一引数 domain に使用します。
@todo
NSC Hyperchannel。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ INET -> Integer (18649.0) -
IPv4。 Socket.open の第一引数 domain に使用します。
IPv4。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), socket(2freebsd), ip(7linux) -
Socket
:: Constants :: PF _ INET6 -> Integer (18649.0) -
IPv6。 Socket.open の第一引数 domain に使用します。
IPv6。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), socket(2freebsd), ipv6(7linux) -
Socket
:: Constants :: PF _ LINK -> Integer (18649.0) -
@todo Link layer interface。 Socket.open の第一引数 domain に使用します。
@todo
Link layer interface。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ HYLINK -> Integer (18649.0) -
@todo NSC Hyperchannel。 Socket.open の第一引数 domain に使用します。
@todo
NSC Hyperchannel。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ INET -> Integer (18649.0) -
IPv4。 Socket.open の第一引数 domain に使用します。
IPv4。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), socket(2freebsd), ip(7linux) -
Socket
:: PF _ INET6 -> Integer (18649.0) -
IPv6。 Socket.open の第一引数 domain に使用します。
IPv6。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), socket(2freebsd), ipv6(7linux) -
Socket
:: PF _ LINK -> Integer (18649.0) -
@todo Link layer interface。 Socket.open の第一引数 domain に使用します。
@todo
Link layer interface。
Socket.open の第一引数 domain に使用します。 -
Socket
. pair(domain , type , protocol=0) -> Array (18625.0) -
相互に結合されたソケットのペアを含む2要素の配列を返します。 引数の指定は Socket.open と同じです。
相互に結合されたソケットのペアを含む2要素の配列を返します。
引数の指定は Socket.open と同じです。
@param domain Socket.open を参照してください。
@param type Socket.open を参照してください。
@param protocol Socket.open を参照してください。
@see Socket.open -
Socket
. socketpair(domain , type , protocol=0) -> Array (18625.0) -
相互に結合されたソケットのペアを含む2要素の配列を返します。 引数の指定は Socket.open と同じです。
相互に結合されたソケットのペアを含む2要素の配列を返します。
引数の指定は Socket.open と同じです。
@param domain Socket.open を参照してください。
@param type Socket.open を参照してください。
@param protocol Socket.open を参照してください。
@see Socket.open -
Net
:: SMTP # send _ mail(mailsrc , from _ addr , *to _ addrs) -> () (18619.0) -
メールを送信します。
メールを送信します。
mailsrc をメールとして送信します。
mailsrc は each イテレータを持つ
オブジェクトならなんでも構いません(たとえば String や File)。
from_domain は送り主のメールアドレス ('...@...'のかたち) 、
to_addrs には送信先メールアドレスを文字列で渡します。
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string,
... -
Net
:: SMTP # sendmail(mailsrc , from _ addr , *to _ addrs) -> () (18619.0) -
メールを送信します。
メールを送信します。
mailsrc をメールとして送信します。
mailsrc は each イテレータを持つ
オブジェクトならなんでも構いません(たとえば String や File)。
from_domain は送り主のメールアドレス ('...@...'のかたち) 、
to_addrs には送信先メールアドレスを文字列で渡します。
require 'net/smtp'
Net::SMTP.start('smtp.example.com') {|smtp|
smtp.send_message mail_string,
... -
Addrinfo
# unix _ path -> String (18367.0) -
Unix domain socket の path を文字列で返します。
Unix domain socket の path を文字列で返します。
require 'socket'
Addrinfo.unix("/tmp/sock").unix_path #=> "/tmp/sock"
@raise SocketError アドレスが Unix domain socket のものでない場合に発生します -
Addrinfo
# unix? -> bool (18349.0) -
アドレスが Unix domain socket のものならば true を返します。
アドレスが Unix domain socket のものならば true を返します。
require 'socket'
Addrinfo.tcp("127.0.0.1", 80).unix? #=> false
Addrinfo.tcp("::1", 80).unix? #=> false
Addrinfo.unix("/tmp/sock").unix? #=> true
@see Addrinfo#ip? -
Socket
:: AF _ CCITT -> Integer (18349.0) -
@todo CCITT プロトコル。 Socket.open の第一引数 domain に使用します。
@todo
CCITT プロトコル。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ COIP -> Integer (18349.0) -
@todo connection-oriented IP。 Socket.open の第一引数 domain に使用します。
@todo
connection-oriented IP。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ DATAKIT -> Integer (18349.0) -
@todo datakit protocol。 Socket.open の第一引数 domain に使用します。
@todo
datakit protocol。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ DLI -> Integer (18349.0) -
@todo DEC Direct data link interface。 Socket.open の第一引数 domain に使用します。
@todo
DEC Direct data link interface。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ IMPLINK -> Integer (18349.0) -
@todo ARPANET IMP。 Socket.open の第一引数 domain に使用します。
@todo
ARPANET IMP。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ IPX -> Integer (18349.0) -
IPX(Novell Internet Packet eXchange protocol)。 Socket.open の第一引数 domain に使用します。
IPX(Novell Internet Packet eXchange protocol)。
Socket.open の第一引数 domain に使用します。
@see socket(3linux) -
Socket
:: AF _ ISDN -> Integer (18349.0) -
@todo Integrated Services Digital Network。 Socket.open の第一引数 domain に使用します。
@todo
Integrated Services Digital Network。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ ISO -> Integer (18349.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ NETBIOS -> Integer (18349.0) -
@todo NetBIOS。 Socket.open の第一引数 domain に使用します。
@todo
NetBIOS。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ OSI -> Integer (18349.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AF _ SIP -> Integer (18349.0) -
@todo Simple Internet Protocol。 Socket.open の第一引数 domain に使用します。
@todo
Simple Internet Protocol。
Socket.open の第一引数 domain に使用します。 -
Socket
:: AncillaryData # unix _ rights -> [IO] | nil (18349.0) -
Unix domain socket の SCM_RIGHTS 制御メッセージに含まれる ファイルディスクリプタを IO オブジェクトの配列として返します。
Unix domain socket の SCM_RIGHTS 制御メッセージに含まれる
ファイルディスクリプタを IO オブジェクトの配列として返します。
得られる IO オブジェクトか IO か Socket です。
この配列は Socket::AncillaryData が初期化されたときに
作られます。例えば BasicSocket#recvmsg を :scm_rights => true
オプションを付けて呼びだし、
SCM_RIGHTS な 制御メッセージを受け取ったときに配列が作られます。
適切なオプションを指定しなかった場合は配列は生成されず、
このメソッドは nil... -
Socket
:: Constants :: AF _ CCITT -> Integer (18349.0) -
@todo CCITT プロトコル。 Socket.open の第一引数 domain に使用します。
@todo
CCITT プロトコル。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ COIP -> Integer (18349.0) -
@todo connection-oriented IP。 Socket.open の第一引数 domain に使用します。
@todo
connection-oriented IP。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ DATAKIT -> Integer (18349.0) -
@todo datakit protocol。 Socket.open の第一引数 domain に使用します。
@todo
datakit protocol。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ DLI -> Integer (18349.0) -
@todo DEC Direct data link interface。 Socket.open の第一引数 domain に使用します。
@todo
DEC Direct data link interface。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ IMPLINK -> Integer (18349.0) -
@todo ARPANET IMP。 Socket.open の第一引数 domain に使用します。
@todo
ARPANET IMP。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ IPX -> Integer (18349.0) -
IPX(Novell Internet Packet eXchange protocol)。 Socket.open の第一引数 domain に使用します。
IPX(Novell Internet Packet eXchange protocol)。
Socket.open の第一引数 domain に使用します。
@see socket(3linux) -
Socket
:: Constants :: AF _ ISDN -> Integer (18349.0) -
@todo Integrated Services Digital Network。 Socket.open の第一引数 domain に使用します。
@todo
Integrated Services Digital Network。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ ISO -> Integer (18349.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ NETBIOS -> Integer (18349.0) -
@todo NetBIOS。 Socket.open の第一引数 domain に使用します。
@todo
NetBIOS。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ OSI -> Integer (18349.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: AF _ SIP -> Integer (18349.0) -
@todo Simple Internet Protocol。 Socket.open の第一引数 domain に使用します。
@todo
Simple Internet Protocol。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ CCITT -> Integer (18349.0) -
@todo CCITT プロトコル。 Socket.open の第一引数 domain に使用します。
@todo
CCITT プロトコル。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ COIP -> Integer (18349.0) -
@todo connection-oriented IP。 Socket.open の第一引数 domain に使用します。
@todo
connection-oriented IP。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ DATAKIT -> Integer (18349.0) -
@todo datakit protocol。 Socket.open の第一引数 domain に使用します。
@todo
datakit protocol。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ DLI -> Integer (18349.0) -
@todo DEC Direct data link interface。 Socket.open の第一引数 domain に使用します。
@todo
DEC Direct data link interface。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ IMPLINK -> Integer (18349.0) -
@todo ARPANET IMP。 Socket.open の第一引数 domain に使用します。
@todo
ARPANET IMP。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ IPX -> Integer (18349.0) -
IPX(Novell Internet Packet eXchange protocol)。 Socket.open の第一引数 domain に使用します。
IPX(Novell Internet Packet eXchange protocol)。
Socket.open の第一引数 domain に使用します。
@see socket(3linux) -
Socket
:: Constants :: PF _ ISDN -> Integer (18349.0) -
@todo Integrated Services Digital Network。 Socket.open の第一引数 domain に使用します。
@todo
Integrated Services Digital Network。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ ISO -> Integer (18349.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ NETBIOS -> Integer (18349.0) -
@todo NetBIOS。 Socket.open の第一引数 domain に使用します。
@todo
NetBIOS。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ OSI -> Integer (18349.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。 -
Socket
:: Constants :: PF _ PIP -> Integer (18349.0) -
Help Identify PIP packets。 Socket.open の第一引数 domain に使用します。
Help Identify PIP packets。
Socket.open の第一引数 domain に使用します。
@see socket(2freebsd) -
Socket
:: Constants :: PF _ RTIP -> Integer (18349.0) -
Help Identify RTIP packets。 Socket.open の第一引数 domain に使用します。
Help Identify RTIP packets。
Socket.open の第一引数 domain に使用します。
@see socket(2freebsd) -
Socket
:: Constants :: PF _ SIP -> Integer (18349.0) -
@todo Simple Internet Protocol。 Socket.open の第一引数 domain に使用します。
@todo
Simple Internet Protocol。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ CCITT -> Integer (18349.0) -
@todo CCITT プロトコル。 Socket.open の第一引数 domain に使用します。
@todo
CCITT プロトコル。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ COIP -> Integer (18349.0) -
@todo connection-oriented IP。 Socket.open の第一引数 domain に使用します。
@todo
connection-oriented IP。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ DATAKIT -> Integer (18349.0) -
@todo datakit protocol。 Socket.open の第一引数 domain に使用します。
@todo
datakit protocol。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ DLI -> Integer (18349.0) -
@todo DEC Direct data link interface。 Socket.open の第一引数 domain に使用します。
@todo
DEC Direct data link interface。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ IMPLINK -> Integer (18349.0) -
@todo ARPANET IMP。 Socket.open の第一引数 domain に使用します。
@todo
ARPANET IMP。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ IPX -> Integer (18349.0) -
IPX(Novell Internet Packet eXchange protocol)。 Socket.open の第一引数 domain に使用します。
IPX(Novell Internet Packet eXchange protocol)。
Socket.open の第一引数 domain に使用します。
@see socket(3linux) -
Socket
:: PF _ ISDN -> Integer (18349.0) -
@todo Integrated Services Digital Network。 Socket.open の第一引数 domain に使用します。
@todo
Integrated Services Digital Network。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ ISO -> Integer (18349.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ NETBIOS -> Integer (18349.0) -
@todo NetBIOS。 Socket.open の第一引数 domain に使用します。
@todo
NetBIOS。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ OSI -> Integer (18349.0) -
@todo ISO Open Systems Interconnection protocols。 Socket.open の第一引数 domain に使用します。
@todo
ISO Open Systems Interconnection protocols。
Socket.open の第一引数 domain に使用します。 -
Socket
:: PF _ PIP -> Integer (18349.0) -
Help Identify PIP packets。 Socket.open の第一引数 domain に使用します。
Help Identify PIP packets。
Socket.open の第一引数 domain に使用します。
@see socket(2freebsd) -
Socket
:: PF _ RTIP -> Integer (18349.0) -
Help Identify RTIP packets。 Socket.open の第一引数 domain に使用します。
Help Identify RTIP packets。
Socket.open の第一引数 domain に使用します。
@see socket(2freebsd) -
Socket
:: PF _ SIP -> Integer (18349.0) -
@todo Simple Internet Protocol。 Socket.open の第一引数 domain に使用します。
@todo
Simple Internet Protocol。
Socket.open の第一引数 domain に使用します。 -
WEBrick
:: Config :: DigestAuth -> Hash (18337.0) -
WEBrick::HTTPAuth::DigestAuth の設定のデフォルト値を保持したハッシュです。
WEBrick::HTTPAuth::DigestAuth の設定のデフォルト値を保持したハッシュです。
require 'webrick'
WEBrick::Config::DigestAuth = {
:Algorithm => 'MD5-sess', # or 'MD5'
:Domain => nil, # an array includes domain names.
:Qop => [ 'auth' ], # 'auth' or '... -
Gem
:: DependencyInstaller :: DEFAULT _ OPTIONS -> Hash (18319.0) -
自身を初期化する際に使用するデフォルトのオプションです。
自身を初期化する際に使用するデフォルトのオプションです。
:env_shebang => false,
:domain => :both, # HACK dup
:force => false,
:format_executable => false, # HACK dup
:ignore_dependencies => false,
:security_policy => nil, # HACK NoSecurity requires OpenSSL. Al... -
Integer
# digits -> [Integer] (18319.0) -
base を基数として self を位取り記数法で表記した数値を配列で返します。 base を指定しない場合の基数は 10 です。
base を基数として self を位取り記数法で表記した数値を配列で返します。
base を指定しない場合の基数は 10 です。
//emlist[][ruby]{
16.digits # => [6, 1]
16.digits(16) # => [0, 1]
//}
self は非負整数でなければいけません。非負整数でない場合は、Math::DomainErrorが発生します。
//emlist[][ruby]{
-10.digits # Math::DomainError: out of domain が発生
//}
@return 位取り記数法で表した時の数... -
Integer
# digits(base) -> [Integer] (18319.0) -
base を基数として self を位取り記数法で表記した数値を配列で返します。 base を指定しない場合の基数は 10 です。
base を基数として self を位取り記数法で表記した数値を配列で返します。
base を指定しない場合の基数は 10 です。
//emlist[][ruby]{
16.digits # => [6, 1]
16.digits(16) # => [0, 1]
//}
self は非負整数でなければいけません。非負整数でない場合は、Math::DomainErrorが発生します。
//emlist[][ruby]{
-10.digits # Math::DomainError: out of domain が発生
//}
@return 位取り記数法で表した時の数... -
UNIXSocket
. pair(type=Socket :: SOCK _ STREAM , protocol=0) -> [UNIXSocket , UNIXSocket] (18319.0) -
相互に結合された UNIX ソケットのペアを含む2要素の配列を返します。
相互に結合された UNIX ソケットのペアを含む2要素の配列を返します。
type にはソケットタイプを指定します。
Socket::SOCK_STREAM, Socket::SOCK_DGRAM, Socket::SOCK_RAW などの
整数、:STREAM, :DGRAM, :RAW などのシンボル、
"STREAM" などの文字列が渡せます。
protocol には プロトコルを指定します。0 は Unix domain でのデフォルト値が
使われます。
require 'socket'
s1, s2 = UNIXSocket.pair
s1.send "a", ... -
UNIXSocket
. socketpair(type=Socket :: SOCK _ STREAM , protocol=0) -> [UNIXSocket , UNIXSocket] (18319.0) -
相互に結合された UNIX ソケットのペアを含む2要素の配列を返します。
相互に結合された UNIX ソケットのペアを含む2要素の配列を返します。
type にはソケットタイプを指定します。
Socket::SOCK_STREAM, Socket::SOCK_DGRAM, Socket::SOCK_RAW などの
整数、:STREAM, :DGRAM, :RAW などのシンボル、
"STREAM" などの文字列が渡せます。
protocol には プロトコルを指定します。0 は Unix domain でのデフォルト値が
使われます。
require 'socket'
s1, s2 = UNIXSocket.pair
s1.send "a", ... -
CGI
:: Cookie (18109.0) -
クッキーを表すクラスです。
クッキーを表すクラスです。
例:
cookie1 = CGI::Cookie.new("name", "value1", "value2", ...)
cookie1 = CGI::Cookie.new({"name" => "name", "value" => "value"})
cookie1 = CGI::Cookie.new({'name' => 'name',
'value' => ['value1', 'value2', ...],
'... -
Addrinfo (18019.0)
-
ソケットのアドレス情報を保持するクラスです。
ソケットのアドレス情報を保持するクラスです。
ホスト/ポート番号/プロトコルなどを同定するために用いられます。
IPv4/IPv6/Unix domain socketなどのアドレス情報を保持することができます。
struct addrinfo に対応します。 -
Resolv
:: DNS :: Resource :: DomainName # name -> Resolv :: DNS :: Name (18001.0) -
ドメイン名を返します。
ドメイン名を返します。 -
CGI
:: Session . new(request , option = {}) -> CGI :: Session (9619.0) -
セッションオブジェクトを新しく作成し返します。
セッションオブジェクトを新しく作成し返します。
@param request CGI のインスタンスを指定します。
@param option ハッシュを指定することができます。
以下の文字列が option のキーとして認識されます。
: session_key
クッキーと <FORM type=hidden> の name として使われます。
(default: "_session_id")
: session_id
セッション ID として使われます。
デフォルトのデータベースである FileStore を用いる場合,
値は英数字だけからなる文字列で無けれ... -
CGI
:: Cookie . new(name = "" , *value) -> CGI :: Cookie (9427.0) -
クッキーオブジェクトを作成します。
クッキーオブジェクトを作成します。
第一引数にハッシュを指定する場合は、以下のキーが使用可能です。
: name
クッキーの名前を指定します。必須。
: value
クッキーの値、または値のリストを指定します。
: path
このクッキーを適用するパスを指定します。デフォルトはこの CGI スクリプトのベースディレクトリです。
: domain
このクッキーを適用するドメインを指定します。
: expires
このクッキーの有効期限を Time のインスタンスで指定します。
: secure
真を指定すると、このクッキーはセキュアクッキーになります。
デフォル... -
Socket
:: AF _ UNIX -> Integer (9397.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux) -
Socket
:: Constants :: AF _ UNIX -> Integer (9397.0) -
Unix domain socket。 Socket.open の第一引数 domain に使用します。
Unix domain socket。
Socket.open の第一引数 domain に使用します。
@see sys/socket.h(header), unix(7linux)