別のキーワード
ライブラリ
- ビルトイン (36)
- bigdecimal (1)
-
cgi
/ html (2) - csv (2)
- date (3)
- dbm (1)
- delegate (1)
- e2mmap (1)
- erb (1)
- fileutils (18)
- gdbm (1)
-
irb
/ cmd / load (1) -
irb
/ context (2) - json (7)
- matrix (1)
- mkmf (21)
-
net
/ imap (6) -
net
/ smtp (5) - objspace (2)
- openssl (8)
- rake (2)
-
rdoc
/ context (2) -
rdoc
/ generator / json _ index (1) -
rdoc
/ top _ level (1) - resolv (37)
-
rexml
/ document (6) -
rexml
/ parsers / sax2parser (1) -
rexml
/ parsers / streamparser (1) - ripper (2)
-
ripper
/ filter (1) -
ripper
/ lexer (4) -
ripper
/ sexp (2) - rubygems (1)
-
rubygems
/ commands / dependency _ command (1) -
rubygems
/ config _ file (2) -
rubygems
/ defaults (3) -
rubygems
/ dependency _ installer (1) -
rubygems
/ dependency _ list (1) -
rubygems
/ gem _ path _ searcher (7) -
rubygems
/ indexer (1) -
rubygems
/ platform (1) -
rubygems
/ remote _ fetcher (1) -
rubygems
/ source _ index (25) -
rubygems
/ source _ info _ cache (30) -
rubygems
/ source _ info _ cache _ entry (4) -
rubygems
/ spec _ fetcher (2) -
shell
/ filter (1) - socket (40)
- strscan (1)
- uri (4)
-
webrick
/ httpresponse (1) - win32ole (3)
- zlib (4)
クラス
- Array (2)
- BigDecimal (1)
- CSV (2)
- Class (3)
- Complex (1)
- DBM (1)
- Date (2)
- DateTime (1)
- ERB (1)
-
Encoding
:: Converter (9) -
Encoding
:: InvalidByteSequenceError (2) -
Encoding
:: UndefinedConversionError (2) -
Enumerator
:: Lazy (1) - GDBM (1)
-
Gem
:: Commands :: DependencyCommand (1) -
Gem
:: ConfigFile (2) -
Gem
:: DependencyInstaller (1) -
Gem
:: DependencyList (1) -
Gem
:: GemPathSearcher (7) -
Gem
:: Indexer (1) -
Gem
:: Platform (1) -
Gem
:: RemoteFetcher (1) -
Gem
:: SourceIndex (25) -
Gem
:: SourceInfoCache (30) -
Gem
:: SourceInfoCacheEntry (4) -
Gem
:: SpecFetcher (2) - IO (2)
-
IRB
:: Context (2) -
IRB
:: ExtendCommand :: Source (1) -
JSON
:: Parser (2) -
JSON
:: State (1) - Matrix (1)
- Method (1)
-
Net
:: IMAP (6) -
Net
:: SMTP (5) - Numeric (1)
-
OpenSSL
:: BN (1) -
OpenSSL
:: Cipher (1) -
OpenSSL
:: Cipher :: RC2 (2) -
OpenSSL
:: Cipher :: RC4 (2) -
OpenSSL
:: Cipher :: RC5 (1) -
OpenSSL
:: PKCS12 (1) - Proc (1)
-
RDoc
:: Context (2) -
RDoc
:: Generator :: JsonIndex (1) -
RDoc
:: Options (3) -
RDoc
:: TopLevel (1) -
REXML
:: AttlistDecl (1) -
REXML
:: DocType (1) -
REXML
:: Document (2) -
REXML
:: ElementDecl (1) -
REXML
:: ExternalEntity (1) -
REXML
:: Parsers :: SAX2Parser (1) -
REXML
:: Parsers :: StreamParser (1) -
Rake
:: Task (2) - Range (2)
- Rational (1)
- Regexp (1)
-
Resolv
:: DNS (3) -
Resolv
:: DNS :: Resource :: DomainName (1) -
Resolv
:: DNS :: Resource :: HINFO (3) -
Resolv
:: DNS :: Resource :: IN :: A (2) -
Resolv
:: DNS :: Resource :: IN :: AAAA (2) -
Resolv
:: DNS :: Resource :: IN :: SRV (5) -
Resolv
:: DNS :: Resource :: IN :: WKS (4) -
Resolv
:: DNS :: Resource :: MINFO (3) -
Resolv
:: DNS :: Resource :: MX (3) -
Resolv
:: DNS :: Resource :: SOA (8) -
Resolv
:: DNS :: Resource :: TXT (3) - Ripper (8)
-
Ripper
:: Filter (1) -
RubyVM
:: InstructionSequence (2) -
Shell
:: Filter (1) - Socket (20)
-
Socket
:: UDPSource (4) - String (1)
- StringScanner (1)
-
URI
:: Generic (4) - UnboundMethod (1)
-
WEBrick
:: HTTPResponse (1) -
WIN32OLE
_ TYPE (3) -
Zlib
:: GzipFile (1)
モジュール
-
CGI
:: HtmlExtension (2) - Exception2MessageMapper (1)
- FileUtils (18)
- Gem (4)
- JSON (4)
- Kernel (22)
- ObjectSpace (2)
- Process (3)
-
Socket
:: Constants (16) - Zlib (3)
キーワード
-
$ archdir (1) -
$ sitearchdir (1) -
$ srcdir (1) - - (1)
- < (1)
-
AI
_ ADDRCONFIG (2) -
DEFAULT
_ UPDATE _ SOURCES (1) - DelegateClass (1)
- HeaderConverters (1)
-
IP
_ ADD _ SOURCE _ MEMBERSHIP (2) -
IP
_ BLOCK _ SOURCE (2) -
IP
_ DROP _ SOURCE _ MEMBERSHIP (2) -
IP
_ SENDSRCADDR (2) -
IP
_ UNBLOCK _ SOURCE (2) -
LOCAL
_ PEERCRED (2) -
MCAST
_ BLOCK _ SOURCE (2) -
MCAST
_ JOIN _ SOURCE _ GROUP (2) -
MCAST
_ LEAVE _ SOURCE _ GROUP (2) -
MCAST
_ UNBLOCK _ SOURCE (2) -
MSG
_ RCVMORE (2) -
SEARCH
_ INDEX _ FILE (1) -
SO
_ PEERCRED (2) -
SO
_ RCVBUF (2) -
SO
_ RCVLOWAT (2) -
SO
_ RCVTIMEO (2) - WRCREAT (2)
-
add
_ class (1) -
add
_ class _ or _ module (2) -
add
_ spec (1) -
add
_ specs (1) - address (3)
-
allocation
_ sourcefile (1) -
allocation
_ sourceline (1) - bitmap (1)
- bsearch (4)
- cache (1)
-
cache
_ data (2) -
cache
_ file (1) -
check
_ circular? (1) - coerce (7)
-
collect
_ specs (1) - commercial (2)
- compile (1)
- convert (1)
- copy (1)
-
copy
_ entry (1) -
copy
_ file (1) -
copy
_ stream (3) - cp (1)
-
cp
_ r (1) - cpu (1)
- crc (1)
- crc32 (1)
-
crc32
_ combine (1) -
crc
_ table (1) - create (1)
-
create
_ makefile (1) -
create
_ tmpsrc (1) - data (1)
-
def
_ exception (1) -
default
_ event _ sources (1) -
default
_ sources (1) -
default
_ system _ source _ cache _ dir (1) -
default
_ user _ source _ cache _ dir (1) - download (1)
-
dummy
_ makefile (1) - dump (1)
- each (2)
-
each
_ resource (1) -
egrep
_ cpp (2) - emailbx (1)
- exchange (1)
- execute (1)
- expire (1)
-
fetch
_ spec (1) - find (1)
-
find
_ all (1) -
find
_ gems (1) -
find
_ gems _ with _ sources (1) -
find
_ name (1) - flush (1)
- force (1)
-
force
_ encoding (1) -
force
_ output (1) -
force
_ quotes? (1) -
force
_ update (1) -
from
_ gems _ in (1) -
from
_ installed _ gems (1) -
from
_ source _ index (1) -
gem
_ signature (1) - getresource (1)
- getresources (1)
- getrlimit (1)
- hierarchical? (1)
- img (1)
-
index
_ signature (1) -
init
_ gemspecs (1) -
inline
_ source (1) - install (1)
-
install
_ files (1) -
install
_ rb (1) -
installed
_ spec _ directories (1) - irb (1)
-
latest
_ cache _ data (1) -
latest
_ cache _ file (1) -
latest
_ specs (1) -
latest
_ system _ cache _ file (2) -
latest
_ user _ cache _ file (2) - length (1)
- lex (1)
-
lib
_ dirs _ for (1) - link (1)
- ln (1)
-
ln
_ s (1) -
ln
_ sf (1) - load (1)
-
load
_ gems _ in (1) -
load
_ specification (1) -
load
_ specs (1) -
local
_ address (1) -
log
_ src (1) -
matching
_ file? (1) -
matching
_ files (1) - minimum (1)
- mname (1)
- move (1)
- mv (1)
- name (1)
- new (34)
- os (1)
- outdated (1)
- parse (2)
- parse! (1)
-
parse
_ stream (1) -
pkcs5
_ keyivgen (1) - port (1)
- preference (1)
-
primitive
_ convert (4) - priority (1)
- protocol (1)
- rc? (1)
- rcptto (1)
-
rcptto
_ list (1) -
read
_ all _ cache _ data (1) -
read
_ cache _ data (1) - refresh (3)
- refresh! (1)
-
remote
_ address (1) -
remove
_ dir (1) -
remove
_ entry (1) -
remove
_ entry _ secure (1) -
remove
_ file (1) -
remove
_ spec (1) - reply (1)
- reset (1)
-
reset
_ cache _ data (1) -
reset
_ cache _ file (1) -
reset
_ cache _ for (1) - restore (1)
- retry (1)
- rmailbx (1)
- rname (1)
-
route
_ from (1) - search (4)
-
search
_ convpath (1) -
search
_ full (1) -
search
_ with _ source (2) -
send
_ mail (1) - sendmail (1)
- serial (1)
-
set
_ cache _ data (1) - setrlimit (2)
- sexp (1)
-
sexp
_ raw (1) - size (3)
- slice (1)
- sort (1)
- source (3)
-
source
_ encoding (3) -
source
_ encoding _ name (2) -
source
_ index (2) -
source
_ location (3) -
source
_ ole _ types (1) - sources (1)
-
spec
_ dirs (1) - specification (1)
- src (1)
-
src
_ type (1) - status (1)
- strings (1)
- superclass (1)
- symlink (1)
-
system
_ cache _ file (2) - target (1)
- thread (1)
-
token
_ match (1) - tokenize (1)
-
try
_ compile (2) -
try
_ cpp (2) -
try
_ do (2) -
try
_ file (1) -
try
_ link (2) -
try
_ run (2) -
udp
_ server _ loop (2) -
udp
_ server _ loop _ on (1) -
udp
_ server _ recv (1) -
uid
_ search (1) -
uid
_ sort (1) -
uid
_ thread (1) - update (2)
-
update
_ sources (1) -
user
_ cache _ file (2) -
valid
_ commercial? (1) - weight (1)
-
write
_ cache (1)
検索結果
先頭5件
- IRB
:: Context # rc -> bool - Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array - Gem
:: SourceInfoCache . search _ with _ source(*args) -> Array - Gem
:: SourceInfoCacheEntry # source _ index -> Gem :: SourceIndex - Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification]
-
IRB
:: Context # rc -> bool (54607.0) -
~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
@return 設定ファイルの読み込みを行う場合は true を返します。行わない場
合(irb の起動時に -f オプションを指定した場合)は false を返しま
す。 -
Gem
:: SourceInfoCache # search _ with _ source(pattern , only _ platform = false , all = false) -> Array (45901.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param only_platform 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@return 第一要素を Gem::Specification、第二要素を取得元の URL とする配列を要素とする配列を返します。 -
Gem
:: SourceInfoCache . search _ with _ source(*args) -> Array (45901.0) -
与えられた条件を満たす Gem::Specification と URL のリストを返します。
与えられた条件を満たす Gem::Specification と URL のリストを返します。
@param args 検索条件を指定します。Gem::SourceInfoCache#search_with_source と引数を合わせてください。
@see Gem::SourceInfoCache#search_with_source -
Gem
:: SourceInfoCacheEntry # source _ index -> Gem :: SourceIndex (27901.0) -
このキャッシュエントリに対するソースインデックスです。
このキャッシュエントリに対するソースインデックスです。 -
Gem
:: SourceIndex # search(gem _ pattern , platform _ only = false) -> [Gem :: Specification] (27601.0) -
引数で指定された条件を満たす Gem のリストを返します。
引数で指定された条件を満たす Gem のリストを返します。
@param gem_pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。 -
Gem
:: SourceInfoCache # search(pattern , platform _ only = false , all = false) -> [Gem :: Specification] (27601.0) -
与えられた条件を満たす Gem::Specification のリストを返します。
与えられた条件を満たす Gem::Specification のリストを返します。
@param pattern 検索したい Gem を表す Gem::Dependency のインスタンスを指定します。
@param platform_only 真を指定するとプラットフォームが一致するもののみを返します。デフォルトは偽です。
@param all 真を指定するとキャッシュを更新してから検索を実行します。
@see Gem::SourceIndex#search -
Gem
:: SourceInfoCache . search(*args) -> [Gem :: Specification] (27601.0) -
与えられた条件を満たす Gem::Specification のリストを返します。
与えられた条件を満たす Gem::Specification のリストを返します。
@param args 検索条件を指定します。Gem::SourceInfoCache#search と引数を合わせてください。
@see Gem::SourceInfoCache#search -
Zlib
. # crc32 _ combine(crc1 , crc2 , length) -> Integer (19201.0) -
与えられた二つの CRC-32 チェックサムを一つにつなげます。
与えられた二つの CRC-32 チェックサムを一つにつなげます。
@param crc1 CRC-32 チェックサムを指定します。
@param crc2 CRC-32 チェックサムを指定します。
@param length crc2 を生成するのに使用した文字列の長さを指定します。 -
Encoding
:: Converter . search _ convpath(source _ encoding , destination _ encoding , options) -> Array (18901.0) -
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
引数で指定した文字エンコーディングの変換の経路を配列にして返します。
@param source_encoding 変換元の文字エンコーディングを Encoding オ
ブジェクトか文字列で指定します。
@param destination_encoding 変換先の文字エンコーディングを
Encoding オブジェクトか文字列で指定し
ます。
@param options 変換の詳細を指定する定数やハッシュを指定します。
... -
Gem
. # source _ index -> Gem :: SourceIndex (18901.0) -
Gem.#path にある Gem::Specification のキャッシュを返します。 インストールされている Gem::Specification のインデックスを返します
Gem.#path にある Gem::Specification のキャッシュを返します。
インストールされている Gem::Specification のインデックスを返します
@see Gem::SourceIndex, Gem::Specification -
Gem
:: DependencyList . from _ source _ index(src _ index) -> Gem :: DependencyList (18901.0) -
与えられた Gem::SourceIndex のインスタンスから自身を作成します。
与えられた Gem::SourceIndex のインスタンスから自身を作成します。
@param src_index Gem::SourceIndex を指定します。
@see Gem::SourceIndex -
Kernel
# create _ tmpsrc(src) -> String (18901.0) -
与えられた C プログラムのソースコードを一時ファイルに出力して与えられたソースコードを返します。
与えられた C プログラムのソースコードを一時ファイルに出力して与えられたソースコードを返します。
@param src C プログラムのソースコードを指定します。 -
Kernel
# log _ src(src) -> () (18901.0) -
与えられた C プログラムのソースコードをログ出力します。
与えられた C プログラムのソースコードをログ出力します。
@param src C プログラムのソースコードを指定します。 -
Resolv
:: DNS # each _ resource(name , typeclass) {|resource| . . . } -> () (18901.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソースをひとつずつブロックに渡します。
nameに対応するDNSリソースレコードを取得します。
見つかったリソースをひとつずつブロックに渡します。
typeclass は以下のいずれかです。
* Resolv::DNS::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Res... -
Resolv
:: DNS # getresource(name , typeclass) -> Resolv :: DNS :: Resource (18901.0) -
nameに対応するDNSリソースレコードを取得します。 最初に見つかったリソースを返します。
nameに対応するDNSリソースレコードを取得します。
最初に見つかったリソースを返します。
typeclass は以下のいずれかです。
* Resolv::DNS::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv::DNS... -
Resolv
:: DNS # getresources(name , typeclass) -> [Resolv :: DNS :: Resource] (18901.0) -
nameに対応するDNSリソースレコードを取得します。 見つかったリソース全てを配列にして返します。
nameに対応するDNSリソースレコードを取得します。
見つかったリソース全てを配列にして返します。
typeclass は以下のいずれかです。
* Resolv::DNS::Resource::IN::ANY
* Resolv::DNS::Resource::IN::NS
* Resolv::DNS::Resource::IN::CNAME
* Resolv::DNS::Resource::IN::SOA
* Resolv::DNS::Resource::IN::HINFO
* Resolv::DNS::Resource::IN::MINFO
* Resolv:... -
Zlib
. # crc32(string = nil , crc = nil) -> Integer (18901.0) -
string の CRC チェックサムを計算し、crc を 更新した値を返します。string が省略された場合は CRC チェックサムの初期値を返します。crc が 省略された場合は crc に初期値が与えらたものとして 計算します。
string の CRC チェックサムを計算し、crc を
更新した値を返します。string が省略された場合は
CRC チェックサムの初期値を返します。crc が
省略された場合は crc に初期値が与えらたものとして
計算します。
@param string string の CRC チェックサムが計算されます。
@param crc crc を整数で指定します。 -
Encoding
:: Converter # source _ encoding -> Encoding (18619.0) -
変換元のエンコーディングを返します。
変換元のエンコーディングを返します。
@return 変換元のエンコーディング
//emlist[][ruby]{
ec = Encoding::Converter.new("utf-8", "euc-jp")
ec.source_encoding #=> #<Encoding:UTF-8>
//} -
Method
# source _ location -> [String , Integer] | nil (18619.0) -
ソースコードのファイル名と行番号を配列で返します。
ソースコードのファイル名と行番号を配列で返します。
その手続オブジェクトが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
@see Proc#source_location
//emlist[例][ruby]{
# ------- /tmp/foo.rb ---------
class Foo
def foo; end
end
# ----- end of /tmp/foo.rb ----
require '/tmp/foo'
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m.source... -
IRB
:: Context # rc? -> bool (18607.0) -
~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
~/.irbrc などの設定ファイルがあれば読み込みを行うかどうかを返します。
@return 設定ファイルの読み込みを行う場合は true を返します。行わない場
合(irb の起動時に -f オプションを指定した場合)は false を返しま
す。 -
Array
# bsearch -> Enumerator (18601.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値を二分探 索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返し ます。self はあらかじめソートしておく必要があります。
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値を二分探
索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返し
ます。self はあらかじめソートしておく必要があります。
本メソッドはブロックを評価した結果により以下のいずれかのモードで動作し
ます。
* find-minimum モード
* find-any モード
find-minimum モード(特に理由がない限りはこのモードを使う方がいいでしょ
う)では、条件判定の結果を以下のようにする必要があります。
* 求める値がブロックパラメータの値か前の要素の場合: true を返... -
Array
# bsearch { |x| . . . } -> object | nil (18601.0) -
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値を二分探 索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返し ます。self はあらかじめソートしておく必要があります。
ブロックの評価結果で範囲内の各要素の判定を行い、条件を満たす値を二分探
索(計算量は O(log n))で検索します。要素が見つからない場合は nil を返し
ます。self はあらかじめソートしておく必要があります。
本メソッドはブロックを評価した結果により以下のいずれかのモードで動作し
ます。
* find-minimum モード
* find-any モード
find-minimum モード(特に理由がない限りはこのモードを使う方がいいでしょ
う)では、条件判定の結果を以下のようにする必要があります。
* 求める値がブロックパラメータの値か前の要素の場合: true を返... -
BigDecimal
# coerce(other) -> Array (18601.0) -
self と other が同じクラスになるよう、self か other を変換し [other, self] という配列にして返します。
self と other が同じクラスになるよう、self か other を変換し [other,
self] という配列にして返します。
@param other 比較または変換するオブジェクト
BigDecimal#coerce は Ruby における強制型変換のための機能です。
BigDecimal オブジェクトとその他のオブジェクト間の各種の計算は
BigDecimal#coerce の結果を元に行われます。
//emlist[][ruby]{
require "bigdecimal"
a = BigDecimal("1.0")
b = a / 2.0 # => 0.5e0
... -
CSV
# force _ quotes? -> bool (18601.0) -
出力される全てのフィールドがクオートされる場合は、真を返します。
出力される全てのフィールドがクオートされる場合は、真を返します。
//emlist[例][ruby]{
require "csv"
rows = [["header1", "header2"], ["row1_1,", "row1_2"]]
result = CSV.generate(force_quotes: false) do |csv|
rows.each { |row| csv << row }
csv.force_quotes? # => false
end
print result
# => header1,header2
# "row1_1,",row1_2... -
CSV
:: HeaderConverters -> Hash (18601.0) -
このハッシュは名前でアクセスできる組み込みのヘッダ用変換器を保存しています。
このハッシュは名前でアクセスできる組み込みのヘッダ用変換器を保存しています。
CSV#header_convert で使用する変換器として使用できます。
また CSV.new のオプションとして使用することもできます。
: :downcase
ヘッダの文字列に対して String#downcase を呼び出します。
: :symbol
ヘッダの文字列を小文字に変換してから、空白文字列 (\s) をアンダースコアに
置換し、非英数字 (\W) を削除します。最後に String#to_sym を呼び出します。
全ての組み込みのヘッダ用変換器は、実際に変換する前にヘッダのデータ... -
Class
# superclass -> Class | nil (18601.0) -
自身のスーパークラスを返します。
自身のスーパークラスを返します。
//emlist[例][ruby]{
File.superclass #=> IO
IO.superclass #=> Object
class Foo; end
class Bar < Foo; end
Bar.superclass #=> Foo
Object.superclass #=> BasicObject
//}
ただし BasicObject.superclass は nil を返します。
//emlist[例][ruby]{
BasicObject.supercl... -
Complex
# coerce(other) -> [Complex , Complex] (18601.0) -
other を Complex に変換して [変換後の other, self] の配列を返します。
other を Complex に変換して [変換後の other, self] の配列を返します。
@raise TypeError 変換できないオブジェクトを指定した場合に発生します。
//emlist[例][ruby]{
Complex(1).coerce(2) # => [(2+0i), (1+0i)]
//} -
DBM
:: WRCREAT -> Integer (18601.0) -
書き込みモードで、すでにファイルが存在しなかったら作ります.
書き込みモードで、すでにファイルが存在しなかったら作ります.
@see DBM.open -
Date
. commercial(cwyear = -4712 , cweek = 1 , cwday = 1 , start = Date :: ITALY) -> Date (18601.0) -
暦週日付に相当する日付オブジェクトを生成します。
暦週日付に相当する日付オブジェクトを生成します。
週、および週の日 (曜日) は負、
または正の数でなければなりません(負のときは最後からの序数)。
零であってはなりません。
このメソッドに改暦前の日付を与えることはできません。
Date.jd、および Date.new も参照してください。
@param cwyear 年
@param cweek 週
@param cwday 週の日 (曜日)
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日
@raise ArgumentError 正しくない日付になる組み合わせである場合に発生します。 -
Date
. valid _ commercial?(cwyear , cweek , cwday , start = Date :: GREGORIAN) -> bool (18601.0) -
正しい暦週日付であれば真、そうでないなら偽を返します。
正しい暦週日付であれば真、そうでないなら偽を返します。
Date.jd、および Date.commercial も参照してください。
@param cwyear 年
@param cweek 週
@param cwday 週の日 (曜日)
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日 -
DateTime
. commercial(cwyear = -4712 , cweek = 1 , cwday = 1 , hour = 0 , min = 0 , sec = 0 , offset = 0 , start = Date :: ITALY) -> DateTime (18601.0) -
暦週日付に相当する日時オブジェクトを生成します。
暦週日付に相当する日時オブジェクトを生成します。
DateTime.new も参照してください。
@param cwyear 年
@param cweek 週
@param cwday 週の日 (曜日)
@param hour 時
@param min 分
@param sec 秒
@param offset 時差
@param start グレゴリオ暦をつかい始めた日をあらわすユリウス日
@raise ArgumentError 正しくない日時 -
ERB
# src -> String (18601.0) -
変換した Ruby スクリプトを取得します。
変換した Ruby スクリプトを取得します。
//emlist[例][ruby]{
require 'erb'
erb = ERB.new("test1<%= @arg1%>\ntest2<%= @arg2%>\n\n")
puts erb.src
# #coding:UTF-8
# _erbout = +''; _erbout.<< "test1".freeze; _erbout.<<(( @arg1).to_s); _erbout.<< "\ntest2".freeze
# ; _erbout.<<(( @arg2).to_s); _erbout.<< "\n\n".freeze
#... -
Encoding
:: InvalidByteSequenceError # source _ encoding -> Encoding (18601.0) -
エラーを発生させた変換の変換元のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換元のエンコーディングを Encoding
オブジェクトで返します。
@see Encoding::InvalidByteSequenceError#destination_encoding,
Encoding::UndefinedConversionError#source_encoding -
Encoding
:: InvalidByteSequenceError # source _ encoding _ name -> Encoding (18601.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::InvalidByteSequenceError#source_encoding -
Encoding
:: UndefinedConversionError # source _ encoding -> Encoding (18601.0) -
エラーを発生させた変換の変換元のエンコーディングを Encoding オブジェクトで返します。
エラーを発生させた変換の変換元のエンコーディングを Encoding
オブジェクトで返します。
変換が多段階になされる場合は元の文字列のものではない
エンコーディングが返される場合があることに注意してください。
@see Encoding::UndefinedConversionError#destination_encoding -
Encoding
:: UndefinedConversionError # source _ encoding _ name -> Encoding (18601.0) -
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
エラーを発生させた変換の変換元のエンコーディングを文字列で返します。
@see Encoding::UndefinedConversionError#source_encoding -
Enumerator
:: Lazy # force(*args) -> [object] (18601.0) -
全ての要素を含む配列を返します。Lazy から実際に値を取り出すのに使います。
全ての要素を含む配列を返します。Lazy から実際に値を取り出すのに使います。
Enumerable#to_a のエイリアスです。
//emlist[例][ruby]{
1.step.lazy.take(10).force
# => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
1.step.lazy.take(10).to_a
# => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
//} -
GDBM
:: WRCREAT -> Integer (18601.0) -
GDBM.open の第3引数に指定します。
GDBM.open の第3引数に指定します。
書き込みモードで、すでにファイルが存在しなかったら作ります。 -
Gem
. default _ sources -> [String] (18601.0) -
デフォルトのパッケージ情報取得先のリストを返します。
デフォルトのパッケージ情報取得先のリストを返します。 -
Gem
. default _ system _ source _ cache _ dir -> String (18601.0) -
デフォルトのシステム全体のソースキャッシュファイルのパスを返します。
デフォルトのシステム全体のソースキャッシュファイルのパスを返します。 -
Gem
. default _ user _ source _ cache _ dir -> String (18601.0) -
デフォルトのユーザ専用のソースキャッシュファイルのパスを返します。
デフォルトのユーザ専用のソースキャッシュファイルのパスを返します。 -
Gem
:: ConfigFile # update _ sources -> bool (18601.0) -
真の場合は Gem::SourceInfoCache を毎回更新します。 そうでない場合は、キャッシュがあればキャッシュの情報を使用します。
真の場合は Gem::SourceInfoCache を毎回更新します。
そうでない場合は、キャッシュがあればキャッシュの情報を使用します。 -
Gem
:: ConfigFile :: DEFAULT _ UPDATE _ SOURCES -> true (18601.0) -
毎回 Gem::SourceInfoCache を更新するかどうかのデフォルト値です。
毎回 Gem::SourceInfoCache を更新するかどうかのデフォルト値です。 -
Gem
:: DependencyInstaller # find _ gems _ with _ sources(dep) -> Array (18601.0) -
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを 返します。
与えられた条件にマッチする Gem::Specification のインスタンスと URI のペアのリストを
返します。
Gem はローカル (Dir.pwd) とリモート (Gem.sources) の両方から検索します。
結果は、バージョンの新しい順が先にきます。また、ローカルの Gem も先にきます。
@param dep Gem::Dependency のインスタンスを指定します。 -
JSON
:: Parser # source -> String (18601.0) -
現在のソースのコピーを返します。
現在のソースのコピーを返します。
//emlist[例][ruby]{
require 'json'
parser = JSON::Parser.new(DATA.read)
print parser.source
# => {
# => "Tanaka": {
# => "name":"tanaka",
# => "age":20
# => },
# => "Suzuki": {
# => "name":"suzuki",
# => "age":25
# => }
# => }
__END__
{
"Tanaka": {
... -
JSON
:: State # check _ circular? -> bool (18601.0) -
循環参照のチェックを行う場合は、真を返します。 そうでない場合は偽を返します。
循環参照のチェックを行う場合は、真を返します。
そうでない場合は偽を返します。
//emlist[例 ネストをチェックするケース][ruby]{
require "json"
a = [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[0]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]... -
Kernel
$ $ archdir -> String (18601.0) -
マシン固有のライブラリを置くディレクトリです。 通常は "/usr/local/lib/ruby/バージョン/arch" です。
マシン固有のライブラリを置くディレクトリです。
通常は "/usr/local/lib/ruby/バージョン/arch" です。 -
Kernel
$ $ sitearchdir -> String (18601.0) -
サイト固有でかつマシン固有のライブラリを置くディレクトリです。 通常は "/usr/local/lib/ruby/site_ruby/バージョン/arch" です。
サイト固有でかつマシン固有のライブラリを置くディレクトリです。
通常は "/usr/local/lib/ruby/site_ruby/バージョン/arch" です。 -
Kernel
$ $ srcdir -> String (18601.0) -
Ruby インタプリタを make したときのソースディレクトリです。
Ruby インタプリタを make したときのソースディレクトリです。 -
Matrix
# coerce(other) -> Array (18601.0) -
他の数値オブジェクトとの変換を行います。
他の数値オブジェクトとの変換を行います。
他の数値オブジェクトをMatrix::Scalarのオブジェクトに変換し、selfとの組を配列として返します。
@param other 変換する数値オブジェクト
//emlist[例][ruby]{
require 'matrix'
a1 = [1, 2]
a2 = [-1.25, 2.2]
m = Matrix[a1, a2]
r = Rational(1, 2)
p m.coerce(r) #=> [#<Matrix::Scalar:0x832df18 @value=(1/2)>, Matrix[[1, 2], [-1.25, 2.2]]]... -
Net
:: IMAP # search(keys , charset = nil) -> [Integer] (18601.0) -
SEARCH コマンドを送り、条件に合うメッセージの message sequence number を配列で返します。
SEARCH コマンドを送り、条件に合うメッセージの message sequence number
を配列で返します。
Net::IMAP#examine もしくは Net::IMAP#select で
指定したメールボックスを検索対象とします。
検索の条件は key に文字列の1次元配列もしくは文字列で渡します。
検索条件は "SUBJECT", "FROM" などを用いることができます。
詳しくは 2060 の 6.4.4 を見てください。
例:
p imap.search(["SUBJECT", "hello"])
#=> [1, 6, 7, 8]
p imap.s... -
Net
:: IMAP # uid _ search(keys , charset = nil) -> [Integer] (18601.0) -
UID SEARCH コマンドを送り、条件に合うメッセージの UID を配列で返します。
UID SEARCH コマンドを送り、条件に合うメッセージの UID
を配列で返します。
Net::IMAP#examine もしくは Net::IMAP#select で
指定したメールボックスを検索対象とします。
検索の条件は key に文字列の1次元配列もしくは文字列で渡します。
検索条件は "SUBJECT", "FROM" などを用いることができます。
詳しくは 2060 の 6.4.4 を見てください。
例:
p imap.uid_search(["SUBJECT", "hello"])
#=> [1, 6, 7, 8]
p imap.uid_search([... -
Net
:: SMTP # rcptto(to _ addr) -> Net :: SMTP :: Response (18601.0) -
RCPTTO コマンドを送ります。
RCPTTO コマンドを送ります。
通常は Net::SMTP#send_message, Net::SMTP#open_message_stream で
RCPTTO が送られるため利用する必要はないはずです。
@param to_addr 送信先メールアドレス -
Net
:: SMTP # rcptto _ list(to _ addrs) { . . . } -> object (18601.0) -
RCPTTO コマンドを to_addrs のすべてのメールアドレスに対して送ります。
RCPTTO コマンドを to_addrs のすべてのメールアドレスに対して送ります。
コマンドを送った後、ブロックを呼び出します。
このメソッドの返り値はブロックの返り値になります。
通常は Net::SMTP#send_message, Net::SMTP#open_message_stream で
RCPTTO が送られるため利用する必要はないはずです。
@param to_addrs 送信先メールアドレスの配列 -
Numeric
# coerce(other) -> [Numeric] (18601.0) -
自身と other が同じクラスになるよう、自身か other を変換し [other, self] という配列にして返します。
自身と other が同じクラスになるよう、自身か other を変換し [other, self] という配列にして返します。
デフォルトでは self と other を Float に変換して [other, self] という配列にして返します。
Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。
以下は Rational の coerce のソースです。other が自身の知らない数値クラスであった場合、
super を呼んでいることに注意して下さい。
//emlist[例][ruby]{
# lib/rational.rb より
def co... -
ObjectSpace
. # allocation _ sourcefile(object) -> String (18601.0) -
objectの元となったソースファイル名を返します。
objectの元となったソースファイル名を返します。
@param object 元となるソースファイル名を取得したいobjectを指定します。
@return objectの元となるソースファイル名を返します。存在しない場合はnilを返します。
//emlist[例:test.rbというファイルで下記のスクリプトを実行した場合][ruby]{
require 'objspace'
ObjectSpace::trace_object_allocations_start
obj = Object.new
puts "file:#{ObjectSpace::allocation_sourc... -
ObjectSpace
. # allocation _ sourceline(object) -> Integer (18601.0) -
objectの元となったソースファイルの行番号を返します。
objectの元となったソースファイルの行番号を返します。
@param object 元となるソースファイルの行番号を取得したいobjectを指定します。
@return objectの元となるソースファイルの行番号を返します。存在しない場合はnilを返します。
//emlist[例][ruby]{
require 'objspace'
ObjectSpace::trace_object_allocations_start
obj = Object.new
puts "line:#{ObjectSpace::allocation_sourceline(obj)}" # => lin... -
OpenSSL
:: BN # coerce(other) -> Array (18601.0) -
自身と other が同じクラスになるよう、自身か other を変換し [other, self] という配列にして返します。
自身と other が同じクラスになるよう、自身か other を変換し
[other, self] という配列にして返します。
基本的に other が整数のときに、自身を Integer のオブジェクトに
変換して [other, 変換後オブジェクト] にして返します。
それ以外の場合は例外 TypeError を発生させます。
//emlist[][ruby]{
require 'openssl'
p 1.to_bn.coerce(2) # => [2, 1]
//}
@param other 変換の基準となるオブジェクト
@raise TypeError 変換に失敗した場合に発... -
Proc
# source _ location -> [String , Integer] | nil (18601.0) -
ソースコードのファイル名と行番号を配列で返します。
ソースコードのファイル名と行番号を配列で返します。
その手続オブジェクトが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
//emlist[例][ruby]{
# /path/to/target.rb を実行
proc {}.source_location # => ["/path/to/target.rb", 1]
proc {}.source_location # => ["/path/to/target.rb", 2]
(eval "proc {}").source_location # => ... -
RDoc
:: Generator :: JsonIndex :: SEARCH _ INDEX _ FILE -> String (18601.0) -
検索インデックスのパスを表す文字列です。
検索インデックスのパスを表す文字列です。 -
RDoc
:: Options # force _ output -> bool (18601.0) -
コマンドライン引数の --force_output オプションを指定していた場合、true を返します。--no-force_output オプションを指定していた場合、false を返 します。
コマンドライン引数の --force_output オプションを指定していた場合、true
を返します。--no-force_output オプションを指定していた場合、false を返
します。
どちらも指定しなかった場合は true を返します。 -
RDoc
:: Options # force _ update -> bool (18601.0) -
コマンドライン引数の --force_update を指定していた場合に true を返しま す。そうでない場合は false を返します。
コマンドライン引数の --force_update を指定していた場合に true を返しま
す。そうでない場合は false を返します。 -
RDoc
:: Options # inline _ source -> bool (18601.0) -
コマンドライン引数の --inline-source オプションか --one-file を指定して いた場合、もしくは --fmt オプションに xml 指定した場合に true を返しま す。そうでない場合は false を返します。
コマンドライン引数の --inline-source オプションか --one-file を指定して
いた場合、もしくは --fmt オプションに xml 指定した場合に true を返しま
す。そうでない場合は false を返します。 -
Rake
:: Task # source -> String (18601.0) -
Rake::Task#sources の最初の要素を返します。
Rake::Task#sources の最初の要素を返します。 -
Rake
:: Task # sources -> Array (18601.0) -
自身が依存するファイルのリストを返します。
自身が依存するファイルのリストを返します。 -
Range
# bsearch -> Enumerator (18601.0) -
ブロックの評価結果で範囲内の各要素の大小判定を行い、条件を満たす値を二 分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を 返します。
ブロックの評価結果で範囲内の各要素の大小判定を行い、条件を満たす値を二
分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を
返します。
本メソッドはブロックを評価した結果により以下のいずれかのモードで動作し
ます。
* find-minimum モード
* find-any モード
find-minimum モード(特に理由がない限りはこのモードを使う方がいいでしょ
う)では、条件判定の結果を以下のようにする必要があります。
* 求める値がブロックパラメータの値か前の要素の場合: true を返す
* 求める値がブロックパラメータより後の要... -
Range
# bsearch {|obj| . . . } -> object | nil (18601.0) -
ブロックの評価結果で範囲内の各要素の大小判定を行い、条件を満たす値を二 分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を 返します。
ブロックの評価結果で範囲内の各要素の大小判定を行い、条件を満たす値を二
分探索(計算量は O(log n))で検索します。要素が見つからない場合は nil を
返します。
本メソッドはブロックを評価した結果により以下のいずれかのモードで動作し
ます。
* find-minimum モード
* find-any モード
find-minimum モード(特に理由がない限りはこのモードを使う方がいいでしょ
う)では、条件判定の結果を以下のようにする必要があります。
* 求める値がブロックパラメータの値か前の要素の場合: true を返す
* 求める値がブロックパラメータより後の要... -
Rational
# coerce(other) -> Array (18601.0) -
自身と other が同じクラスになるよう、自身か other を変換し [other, self] という 配列にして返します。
自身と other が同じクラスになるよう、自身か other を変換し [other, self] という
配列にして返します。
@param other 比較または変換するオブジェクト
//emlist[例][ruby]{
Rational(1).coerce(2) # => [(2/1), (1/1)]
Rational(1).coerce(2.2) # => [2.2, 1.0]
//} -
Regexp
# source -> String (18601.0) -
その正規表現のもととなった文字列表現を生成して返します。
その正規表現のもととなった文字列表現を生成して返します。
//emlist[例][ruby]{
re = /foo|bar|baz/i
p re.source # => "foo|bar|baz"
//} -
Socket
:: AI _ ADDRCONFIG -> Integer (18601.0) -
Accept only if any address is assigned。
Accept only if any address is assigned。
Socket.getaddrinfo, Addrinfo.getaddrinfo の引数 flags に渡す
定数です。
@see getaddrinfo(3) -
Socket
:: Constants :: AI _ ADDRCONFIG -> Integer (18601.0) -
Accept only if any address is assigned。
Accept only if any address is assigned。
Socket.getaddrinfo, Addrinfo.getaddrinfo の引数 flags に渡す
定数です。
@see getaddrinfo(3) -
Socket
:: Constants :: IP _ ADD _ SOURCE _ MEMBERSHIP -> Integer (18601.0) -
Add a multicast group membership。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Add a multicast group membership。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: Constants :: IP _ BLOCK _ SOURCE -> Integer (18601.0) -
Block IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Block IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: Constants :: IP _ DROP _ SOURCE _ MEMBERSHIP -> Integer (18601.0) -
Drop a multicast group membership。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Drop a multicast group membership。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: Constants :: IP _ SENDSRCADDR -> Integer (18601.0) -
ource address for outgoing UDP datagrams。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
ource address for outgoing UDP datagrams。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, ip(4freebsd) -
Socket
:: Constants :: IP _ UNBLOCK _ SOURCE -> Integer (18601.0) -
Unblock IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Unblock IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: Constants :: LOCAL _ PEERCRED -> Integer (18601.0) -
Pass credentials to receiver。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Pass credentials to receiver。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see ip(4freebsd) -
Socket
:: Constants :: MCAST _ BLOCK _ SOURCE -> Integer (18601.0) -
Block multicast packets from this source
Block multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ JOIN _ SOURCE _ GROUP -> Integer (18601.0) -
Join a multicast source group
Join a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ LEAVE _ SOURCE _ GROUP -> Integer (18601.0) -
Leave a multicast source group
Leave a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MCAST _ UNBLOCK _ SOURCE -> Integer (18601.0) -
Unblock multicast packets from this source
Unblock multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: Constants :: MSG _ RCVMORE -> Integer (18601.0) -
@todo Data remains in the current packet
@todo
Data remains in the current packet -
Socket
:: Constants :: SO _ PEERCRED -> Integer (18601.0) -
The credentials of the foreign process connected to this socket。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
The credentials of the foreign process connected to this socket。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see socket(7linux), unix(7linux), socketpair(2linux),
Socket::Constants::SOL_SOCKET -
Socket
:: Constants :: SO _ RCVBUF -> Integer (18601.0) -
Receive buffer size。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Receive buffer size。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see sys/socket.h(header), getsockopt(2freebsd),
socket(7linux), Socket::Constants::SOL_SOCKET -
Socket
:: Constants :: SO _ RCVLOWAT -> Integer (18601.0) -
Receive low-water mark。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Receive low-water mark。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see sys/socket.h(header), getsockopt(2freebsd),
socket(7linux), Socket::Constants::SOL_SOCKET -
Socket
:: Constants :: SO _ RCVTIMEO -> Integer (18601.0) -
Receive timeout。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Receive timeout。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see sys/socket.h(header), getsockopt(2freebsd),
socket(7linux) -
Socket
:: IP _ ADD _ SOURCE _ MEMBERSHIP -> Integer (18601.0) -
Add a multicast group membership。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Add a multicast group membership。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: IP _ BLOCK _ SOURCE -> Integer (18601.0) -
Block IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Block IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: IP _ DROP _ SOURCE _ MEMBERSHIP -> Integer (18601.0) -
Drop a multicast group membership。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Drop a multicast group membership。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: IP _ SENDSRCADDR -> Integer (18601.0) -
ource address for outgoing UDP datagrams。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
ource address for outgoing UDP datagrams。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, ip(4freebsd) -
Socket
:: IP _ UNBLOCK _ SOURCE -> Integer (18601.0) -
Unblock IPv4 multicast packets with a give source address。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Unblock IPv4 multicast packets with a give source address。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP,
ip(4freebsd) -
Socket
:: LOCAL _ PEERCRED -> Integer (18601.0) -
Pass credentials to receiver。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Pass credentials to receiver。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see ip(4freebsd) -
Socket
:: MCAST _ BLOCK _ SOURCE -> Integer (18601.0) -
Block multicast packets from this source
Block multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ JOIN _ SOURCE _ GROUP -> Integer (18601.0) -
Join a multicast source group
Join a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ LEAVE _ SOURCE _ GROUP -> Integer (18601.0) -
Leave a multicast source group
Leave a multicast source group
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MCAST _ UNBLOCK _ SOURCE -> Integer (18601.0) -
Unblock multicast packets from this source
Unblock multicast packets from this source
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, Socket::Constants::IPPROTO_IPV6,
3678 -
Socket
:: MSG _ RCVMORE -> Integer (18601.0) -
@todo Data remains in the current packet
@todo
Data remains in the current packet -
Socket
:: SO _ PEERCRED -> Integer (18601.0) -
The credentials of the foreign process connected to this socket。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
The credentials of the foreign process connected to this socket。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see socket(7linux), unix(7linux), socketpair(2linux),
Socket::Constants::SOL_SOCKET -
Socket
:: SO _ RCVBUF -> Integer (18601.0) -
Receive buffer size。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Receive buffer size。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see sys/socket.h(header), getsockopt(2freebsd),
socket(7linux), Socket::Constants::SOL_SOCKET -
Socket
:: SO _ RCVLOWAT -> Integer (18601.0) -
Receive low-water mark。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Receive low-water mark。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see sys/socket.h(header), getsockopt(2freebsd),
socket(7linux), Socket::Constants::SOL_SOCKET