ライブラリ
- ビルトイン (34)
- benchmark (1)
-
cgi
/ core (1) - csv (1)
- date (3)
- drb (1)
- etc (25)
- fiddle (2)
- fileutils (1)
-
irb
/ context (3) - json (21)
-
json
/ add / date _ time (1) - matrix (3)
- mkmf (2)
-
net
/ http (3) -
net
/ pop (2) -
net
/ smtp (1) - openssl (5)
-
rake
/ packagetask (1) - rbconfig (1)
-
rbconfig
/ sizeof (1) -
rdoc
/ context (1) -
rubygems
/ exceptions (1) -
rubygems
/ requirement (1) - socket (24)
- tracer (1)
-
webrick
/ httpauth / authenticator (2) - win32ole (2)
クラス
- Array (9)
- CSV (1)
- DateTime (4)
-
Encoding
:: Converter (5) - IO (3)
-
IRB
:: Context (3) -
JSON
:: State (6) - Matrix (3)
- Method (1)
- Module (3)
- Object (1)
-
OpenSSL
:: SSL :: SSLContext (1) - Proc (1)
-
RDoc
:: Context (1) -
Rake
:: PackageTask (1) -
RubyVM
:: InstructionSequence (4) -
Socket
:: Option (1) - Struct (1)
- Thread (1)
- Time (1)
- Tracer (1)
- WIN32OLE (1)
-
WIN32OLE
_ EVENT (1)
モジュール
- Benchmark (1)
-
CGI
:: QueryExtension (1) - Etc (25)
- Fiddle (2)
-
File
:: Constants (1) - FileUtils (1)
- JSON (2)
- Kernel (4)
-
OpenSSL
:: ASN1 (1) -
OpenSSL
:: OCSP (1) -
OpenSSL
:: SSL (2) - RbConfig (2)
-
Socket
:: Constants (23) -
WEBrick
:: HTTPAuth :: Authenticator (1) -
WEBrick
:: HTTPAuth :: ProxyAuthenticator (1)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (1) - === (1)
- APOPSession (1)
- Array (1)
-
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ CFLAGS (1) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ LDFLAGS (1) -
CS
_ POSIX _ V6 _ ILP32 _ OFF32 _ LIBS (1) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ CFLAGS (1) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ LDFLAGS (1) -
CS
_ POSIX _ V6 _ ILP32 _ OFFBIG _ LIBS (1) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ CFLAGS (1) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ LDFLAGS (1) -
CS
_ POSIX _ V6 _ LP64 _ OFF64 _ LIBS (1) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ CFLAGS (1) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ LDFLAGS (1) -
CS
_ POSIX _ V6 _ LPBIG _ OFFBIG _ LIBS (1) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ CFLAGS (1) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ LDFLAGS (1) -
CS
_ POSIX _ V7 _ ILP32 _ OFF32 _ LIBS (1) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ CFLAGS (1) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ LDFLAGS (1) -
CS
_ POSIX _ V7 _ ILP32 _ OFFBIG _ LIBS (1) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ CFLAGS (1) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ LDFLAGS (1) -
CS
_ POSIX _ V7 _ LP64 _ OFF64 _ LIBS (1) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ CFLAGS (1) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ LDFLAGS (1) -
CS
_ POSIX _ V7 _ LPBIG _ OFFBIG _ LIBS (1) - ConditionVariable (1)
- DRbIdConv (1)
- EndOfYAMLException (1)
- Extend (1)
- FalseClass (1)
- Float (1)
- HTTPClientException (1)
- HTTPRequestURITooLong (1)
- HTTPSession (1)
- Hash (1)
-
IFF
_ MASTER (1) -
IFF
_ NOTRAILERS (1) -
IFF
_ SLAVE (1) -
IFF
_ SUPP _ NOFCS (1) -
IPV6
_ RTHDR (1) -
IPV6
_ RTHDRDSTOPTS (1) -
IP
_ MTU (1) -
IP
_ ROUTER _ ALERT (1) -
IP
_ TOS (1) - InfoField (1)
- Integer (1)
-
MAKEFILE
_ CONFIG (1) -
MSG
_ COMPAT (1) -
MSG
_ EOF (1) -
MSG
_ FLUSH (1) -
MSG
_ OOB (1) -
NEWS for Ruby 2
. 0 . 0 (1) -
NEWS for Ruby 2
. 4 . 0 (1) -
NEWS for Ruby 2
. 5 . 0 (1) -
NEWS for Ruby 2
. 7 . 0 (1) -
NEWS for Ruby 3
. 0 . 0 (1) -
NI
_ NOFQDN (1) - NOFOLLOW (1)
- NilClass (1)
-
OP
_ MICROSOFT _ BIG _ SSLV3 _ BUFFER (1) -
OP
_ MICROSOFT _ SESS _ ID _ BUG (1) - Object (1)
- POPSession (1)
- Parser (1)
-
REVOKED
_ STATUS _ CESSATIONOFOPERATION (1) - Requirement (1)
- ResponseInfoField (1)
-
SESSION
_ CACHE _ OFF (1) - SIZEOF (1)
-
SIZEOF
_ LONG (1) -
SIZEOF
_ LONG _ LONG (1) - SMTPSession (1)
-
SO
_ BROADCAST (1) -
SO
_ OOBINLINE (1) -
SO
_ PEERCRED (1) -
SO
_ PEERNAME (1) - State (1)
- String (1)
-
TCP
_ KEEPCNT (1) -
TCP
_ LINGER2 (1) -
TCP
_ NOPUSH (1) -
TCP
_ SYNCNT (1) -
TCP
_ WINDOW _ CLAMP (1) - TrueClass (1)
- UnparserError (1)
- autoload (2)
- autoload? (1)
-
base
_ label (1) - benchmark (1)
- binread (1)
-
buffer
_ initial _ length (1) -
buffer
_ initial _ length= (1) -
check
_ circular? (1) - civil (1)
- cofactor (1)
-
cofactor
_ expansion (1) - combination (2)
-
const
_ set (1) -
convertible
_ int (2) -
deconstruct
_ keys (1) -
defined
_ in? (1) - depth (1)
- depth= (1)
- fetch (1)
-
first
_ lineno (1) - generate (1)
-
handle
_ interrupt (1) -
ignore
_ eof (1) -
ignore
_ eof= (1) -
ignore
_ eof? (1) -
irb
/ completion (1) - label (1)
-
laplace
_ expansion (1) - linger (1)
- new (4)
- off (1)
-
off
_ event (1) - offset (1)
-
ole
_ show _ help (1) - optparse (1)
- permutation (2)
-
primitive
_ convert (4) -
primitive
_ errinfo (1) -
rb
_ ary _ entry (1) -
rb
_ mod _ const _ of (1) -
rb
_ time _ timespec _ new (1) -
rbconfig
/ sizeof (1) - rdoc (1)
-
rdoc
/ generator / json _ index (1) -
rdoc
/ markdown (1) -
repeated
_ combination (2) -
repeated
_ permutation (2) -
ruby 1
. 6 feature (1) -
ruby 1
. 8 . 3 feature (1) -
ruby 1
. 8 . 4 feature (1) -
ruby2
_ keywords (2) -
rubygems
/ commands / server _ command (1) -
rubygems
/ commands / specification _ command (1) - seek (1)
-
server
_ software (1) -
source
_ location (1) - strftime (1)
- sysconf (1)
-
to
_ json (1) - traverse (1)
- unparse (1)
- write (1)
検索結果
先頭5件
- RubyVM
:: InstructionSequence . of(body) -> RubyVM :: InstructionSequence - Fiddle
:: SIZEOF _ LONG _ LONG -> Integer - OpenSSL
:: OCSP :: REVOKED _ STATUS _ CESSATIONOFOPERATION -> Integer - OpenSSL
:: SSL :: SSLContext :: SESSION _ CACHE _ OFF -> Integer - Matrix
# cofactor _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float
-
RubyVM
:: InstructionSequence . of(body) -> RubyVM :: InstructionSequence (63712.0) -
引数 body で指定した Proc、Method オブジェクトを元に RubyVM::InstructionSequence オブジェクトを作成して返します。
引数 body で指定した Proc、Method オブジェクトを元に
RubyVM::InstructionSequence オブジェクトを作成して返します。
@param body Proc、Method オブジェクトを指定します。
例1:irb で実行した場合
# proc
> p = proc { num = 1 + 2 }
> RubyVM::InstructionSequence.of(p)
> # => <RubyVM::InstructionSequence:block in irb_binding@(irb)>
# method
> def ... -
Fiddle
:: SIZEOF _ LONG _ LONG -> Integer (54901.0) -
Cでの sizeof(long long) の値
Cでの sizeof(long long) の値 -
OpenSSL
:: OCSP :: REVOKED _ STATUS _ CESSATIONOFOPERATION -> Integer (54901.0) -
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、 証明書の運用を止めたことを意味します。
OpenSSL::OCSP::BasicResponse#status の失効理由コードで、
証明書の運用を止めたことを意味します。
詳しくは 3280 や X.509 を参照してください。 -
OpenSSL
:: SSL :: SSLContext :: SESSION _ CACHE _ OFF -> Integer (45601.0) -
セッションをキャッシュしないことを意味します。
セッションをキャッシュしないことを意味します。
OpenSSL::SSL::SSLContext#session_cache_mode= に
渡すフラグとして用います。 -
Matrix
# cofactor _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (36901.0) -
row 行、もしくは column 列に関するラプラス展開をする。
row 行、もしくは column 列に関するラプラス展開をする。
通常の行列に対してはこれは単に固有値を計算するだけです。かわりにMatrix#determinant を
利用すべきです。
変則的な形状の行列に対してはそれ以上の意味を持ちます。例えば
row行/column列が行列やベクトルである場合には
//emlist[例][ruby]{
require 'matrix'
# Matrix[[7,6], [3,9]].laplace_expansion(column: 1) # => 45
Matrix[[Vector[1, 0], Vector[0, 1]], [2, 3]].... -
FileUtils
. options _ of(mid) -> Array (36622.0) -
与えられたメソッド名で使用可能なオプション名の配列を返します。
与えられたメソッド名で使用可能なオプション名の配列を返します。
@param mid メソッド名を指定します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.options_of(:rm) # => ["noop", "verbose", "force"]
//} -
Fiddle
:: SIZEOF _ LONG -> Integer (36601.0) -
Cでの sizeof(long) の値
Cでの sizeof(long) の値 -
WEBrick
:: HTTPAuth :: Authenticator :: ResponseInfoField -> String (36601.0) -
レスポンスインフォフィールドのキーの名前です。
レスポンスインフォフィールドのキーの名前です。 -
void * rb
_ mod _ const _ of(VALUE mod , void *data) (36601.0) -
-
ConditionVariable (36049.0)
-
Alias of Thread::ConditionVariable
Alias of Thread::ConditionVariable -
Gem
:: EndOfYAMLException (36001.0) -
YAML データが不正である場合に使用する例外です。
YAML データが不正である場合に使用する例外です。 -
rbconfig
/ sizeof (36001.0) -
Ruby インタプリタが作成された環境における、データ型のサイズなどに関する情報を格納したライブラリです。
Ruby インタプリタが作成された環境における、データ型のサイズなどに関する情報を格納したライブラリです。 -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize , options) -> Symbol (28819.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset , destination _ bytesize) -> Symbol (28519.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer , destination _ byteoffset) -> Symbol (28219.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Encoding
:: Converter # primitive _ convert(source _ buffer , destination _ buffer) -> Symbol (27619.0) -
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
エンコーディング変換のためのメソッドの中で、もっとも細かな扱いが可能なメソッドです。
可搬性を確保しつつ、不正なバイトや変換先で未定義な文字の扱いを細かに指定したいときは、Encoding::Converter#primitive_convert が唯一の方法になります。
@param source_buffer 変換元文字列のバッファ
@param destination_buffer 変換先文字列を格納するバッファ
@param destination_byteoffset 変換先バッファでのオフセット
@param destination_bytesize 変換先バッファの容量
@... -
Matrix
# laplace _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (27601.0) -
row 行、もしくは column 列に関するラプラス展開をする。
row 行、もしくは column 列に関するラプラス展開をする。
通常の行列に対してはこれは単に固有値を計算するだけです。かわりにMatrix#determinant を
利用すべきです。
変則的な形状の行列に対してはそれ以上の意味を持ちます。例えば
row行/column列が行列やベクトルである場合には
//emlist[例][ruby]{
require 'matrix'
# Matrix[[7,6], [3,9]].laplace_expansion(column: 1) # => 45
Matrix[[Vector[1, 0], Vector[0, 1]], [2, 3]].... -
RbConfig
:: MAKEFILE _ CONFIG -> Hash (27337.0) -
RbConfig::CONFIG と同じですが、その値は以下のような形 で他の変数への参照を含みます。 MAKEFILE_CONFIG["bindir"] = "$(exec_prefix)/bin" これは、Makefile の変数参照の形式で MAKEFILE_CONFIG は、 Makefile 作成の際に利用されることを想定しています。
RbConfig::CONFIG
と同じですが、その値は以下のような形
で他の変数への参照を含みます。
MAKEFILE_CONFIG["bindir"] = "$(exec_prefix)/bin"
これは、Makefile の変数参照の形式で MAKEFILE_CONFIG は、
Makefile 作成の際に利用されることを想定しています。
require 'rbconfig'
print <<-END_OF_MAKEFILE
prefix = #{RbConfig::MAKEFILE_CONFIG['prefix']}
exec_prefix = #{RbC... -
CGI
:: QueryExtension # server _ software -> String (27301.0) -
ENV['SERVER_SOFTWARE'] を返します。
ENV['SERVER_SOFTWARE'] を返します。 -
File
:: Constants :: NOFOLLOW -> Integer (27301.0) -
ファイルがシンボリックリンクであった場合に 例外を発生させます。 open(2) で O_NOFOLLOW が指定できる場合に使えます。 File.openで使用します。
ファイルがシンボリックリンクであった場合に
例外を発生させます。
open(2) で O_NOFOLLOW が指定できる場合に使えます。
File.openで使用します。 -
IRB
:: Context # ignore _ eof -> bool (27301.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
true の時は Ctrl-D を無視します。false の時は irb を終了します。
デフォルト値は false です。
@see IRB::Context#ignore_eof= -
IRB
:: Context # ignore _ eof=(val) (27301.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを val に設定します。
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを val に設定します。
.irbrc ファイル中で IRB.conf[:IGNORE_EOF] を設定する事でも同様の操作が
行えます。
@param val true を指定した場合、 Ctrl-D を無視します。false を指定した
場合は Ctrl-D の入力時に irb を終了します。
@see IRB::Context#ignore_eof -
IRB
:: Context # ignore _ eof? -> bool (27301.0) -
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
Ctrl-D(EOF) が入力された時に irb を終了するかどうかを返します。
true の時は Ctrl-D を無視します。false の時は irb を終了します。
デフォルト値は false です。
@see IRB::Context#ignore_eof= -
RbConfig
:: SIZEOF -> Hash (27301.0) -
Ruby インタプリタが作成された環境における、C の型のサイズ情報を保持します。
Ruby インタプリタが作成された環境における、C の型のサイズ情報を保持します。
下の例では、実行している Ruby インタプリタは int が 4 バイトである環境で作成されたことを表しています。
//emlist[][ruby]{
require 'rbconfig/sizeof'
RbConfig::SIZEOF['int'] # => 4
//} -
Socket
:: Constants :: IFF _ SUPP _ NOFCS (27301.0) -
sending custom FCS
sending custom FCS -
Socket
:: Constants :: MSG _ EOF -> Integer (27301.0) -
Data completes connection。
Data completes connection。
BasicSocket#send, BasicSocket#sendmsg,
BasicSocket#recv, BasicSocket#recvmsg の
flags 引数に用います。
@see send(2freebsd) -
Socket
:: Constants :: NI _ NOFQDN -> Integer (27301.0) -
An FQDN is not required for local hosts, return only the local part.
An FQDN is not required for local hosts, return only the local part.
Socket.getnameinfo, Addrinfo#getnameinfo の引数 flags に渡す
定数です。
@see getnameinfo(3) -
Struct
# deconstruct _ keys(array _ of _ names) -> Hash (18622.0) -
self のメンバの名前と値の組を Hash で返します。
self のメンバの名前と値の組を Hash で返します。
@param array_of_names 返り値に含めるメンバの名前の配列を指定します。nil の場合は全てのメンバを意味します。
//emlist[例][ruby]{
Customer = Struct.new(:name, :address, :zip)
joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345)
h = joe.deconstruct_keys([:zip, :address])
h # => {:zip=>12345, :address... -
DateTime
# offset -> Rational (18601.0) -
時差を返します。
時差を返します。 -
Matrix
# cofactor(row , column) -> Integer | Rational | Float (18601.0) -
(row, column)-余因子を返します。
(row, column)-余因子を返します。
各要素の型によって返り値が変わります。
@param row 行
@param column 列
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方でない場合に発生します。
@see Matrix#adjugate -
WEBrick
:: HTTPAuth :: ProxyAuthenticator :: InfoField -> "Proxy-Authentication-Info" (18601.0) -
キーの名前です。
キーの名前です。 -
WIN32OLE
_ EVENT # off _ event(event = nil) -> () (18385.0) -
WIN32OLE_EVENT#on_eventで登録したブロックを解除します。
WIN32OLE_EVENT#on_eventで登録したブロックを解除します。
@param event 文字列またはシンボルで登録時に指定したイベント名を指定しま
す。nilの場合、WIN32OLE_EVENT#on_eventに対してnilを指定したブロッ
クを解除します。
ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents')
ev.on_event(:NavigateComplete) {|url| puts url }
...
ev.off_event(:NavigateComplete) -
Tracer
. off -> nil (18367.0) -
トレース出力を中断します。 トレース出力を開始するには、Tracer.onを使用します。
トレース出力を中断します。
トレース出力を開始するには、Tracer.onを使用します。
@see Tracer.on -
Kernel
# convertible _ int(type , headers = nil , opts = nil) (18349.0) -
Returns the convertible integer type of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. _Convertible_ means actually same type, or typedefed from same type. If the +type+ is a integer type and _convertible_ type is found, following macros are passed as preprocessor constants to the compiler using the +type+ name, in uppercase. * 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X' is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP, where 'TYP' is the +type+ name in uppercase with replacing '_t' suffix with 'T', followed by '=X' where 'X' is the macro name to convert +type+ to +Integer+ object, and vice versa. For example, if foobar_t is defined as unsigned long, then convertible_int("foobar_t") would return "unsigned long", and define macros: #define TYPEOF_FOOBAR_T unsigned long #define FOOBART2NUM ULONG2NUM #define NUM2FOOBART NUM2ULONG
Returns the convertible integer type of the given +type+. You may
optionally specify additional +headers+ to search in for the +type+.
_Convertible_ means actually same type, or typedefed from same type.
If the +type+ is a integer type and _convertible_ type is found,
following macros are p... -
Kernel
# convertible _ int(type , headers = nil , opts = nil) { . . . } (18349.0) -
Returns the convertible integer type of the given +type+. You may optionally specify additional +headers+ to search in for the +type+. _Convertible_ means actually same type, or typedefed from same type. If the +type+ is a integer type and _convertible_ type is found, following macros are passed as preprocessor constants to the compiler using the +type+ name, in uppercase. * 'TYPEOF_', followed by the +type+ name, followed by '=X' where 'X' is the found _convertible_ type name. * 'TYP2NUM' and 'NUM2TYP, where 'TYP' is the +type+ name in uppercase with replacing '_t' suffix with 'T', followed by '=X' where 'X' is the macro name to convert +type+ to +Integer+ object, and vice versa. For example, if foobar_t is defined as unsigned long, then convertible_int("foobar_t") would return "unsigned long", and define macros: #define TYPEOF_FOOBAR_T unsigned long #define FOOBART2NUM ULONG2NUM #define NUM2FOOBART NUM2ULONG
Returns the convertible integer type of the given +type+. You may
optionally specify additional +headers+ to search in for the +type+.
_Convertible_ means actually same type, or typedefed from same type.
If the +type+ is a integer type and _convertible_ type is found,
following macros are p... -
Array
# combination(n) -> Enumerator (18337.0) -
サイズ n の組み合わせをすべて生成し、それを引数としてブロックを実行します。
サイズ n の組み合わせをすべて生成し、それを引数としてブロックを実行します。
得られる組み合わせの順序は保証されません。ブロックなしで呼び出されると、組み合わせ
を生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[... -
Array
# combination(n) {|c| block } -> self (18337.0) -
サイズ n の組み合わせをすべて生成し、それを引数としてブロックを実行します。
サイズ n の組み合わせをすべて生成し、それを引数としてブロックを実行します。
得られる組み合わせの順序は保証されません。ブロックなしで呼び出されると、組み合わせ
を生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[... -
Array
# permutation(n = self . length) -> Enumerator (18337.0) -
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
引数を省略した場合は配列の要素数と同じサイズの順列に対してブロックを実
行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
... -
Array
# permutation(n = self . length) { |p| block } -> self (18337.0) -
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の順列をすべて生成し,それを引数としてブロックを実行します。
引数を省略した場合は配列の要素数と同じサイズの順列に対してブロックを実
行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
... -
Array
# repeated _ combination(n) -> Enumerator (18319.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行
します。
得られる組み合わせの順序は保証されません。ブロックなしで呼び出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emli... -
Array
# repeated _ combination(n) { |c| . . . } -> self (18319.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行
します。
得られる組み合わせの順序は保証されません。ブロックなしで呼び出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emli... -
Array
# repeated _ permutation(n) -> Enumerator (18319.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
Array
# repeated _ permutation(n) { |p| . . . } -> self (18319.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
得られる順列の順序は保証されません。ブロックなしで呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby... -
DateTime
# to _ json(*args) -> String (18319.0) -
自身を JSON 形式の文字列に変換して返します。
自身を JSON 形式の文字列に変換して返します。
内部的にはハッシュにデータをセットしてから JSON::Generator::GeneratorMethods::Hash#to_json を呼び出しています。
@param args 引数はそのまま JSON::Generator::GeneratorMethods::Hash#to_json に渡されます。
//emlist[例][ruby]{
require "json/add/core"
DateTime.now.to_json
# => "{\"json_class\":\"DateTime\",\"y\":2018,\"... -
Etc
. # sysconf(name) -> Integer | nil (18319.0) -
sysconf(3) で取得したシステム設定変数の値を返します。
sysconf(3) で取得したシステム設定変数の値を返します。
引数 name が制限に関する設定値であり、設定が制限がない状態の場合は nil
を返します。(sysconf(3) が -1 を返し、errno が設定されていない
場合)
@param name Etc モジュールの SC_ で始まる定数のいずれかを指定します。
//emlist[][ruby]{
require "etc"
Etc.sysconf(Etc::SC_ARG_MAX) # => 2097152
# Number of processors.
# It is not standardized.
Etc.... -
Method
# source _ location -> [String , Integer] | nil (18319.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... -
Module
# const _ set(name , value) -> object (18319.0) -
モジュールに name で指定された名前の定数を value とい う値として定義し、value を返します。
モジュールに name で指定された名前の定数を value とい
う値として定義し、value を返します。
そのモジュールにおいてすでにその名前の定数が定義されている場合、警
告メッセージが出力されます。
@param name Symbol,String で定数の名前を指定します。
@param value セットしたい値を指定します。
//emlist[例][ruby]{
module Foo; end
# Symbolを指定した場合
Foo.const_set(:FOO, 123)
Foo::FOO # => 123
# Stringを指定した場合
Foo.const_... -
Etc
:: CS _ POSIX _ V6 _ ILP32 _ OFF32 _ CFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ ILP32 _ OFF32 _ LDFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ ILP32 _ OFF32 _ LIBS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ ILP32 _ OFFBIG _ CFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ ILP32 _ OFFBIG _ LDFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ ILP32 _ OFFBIG _ LIBS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ LP64 _ OFF64 _ CFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ LP64 _ OFF64 _ LDFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ LP64 _ OFF64 _ LIBS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ LPBIG _ OFFBIG _ CFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ LPBIG _ OFFBIG _ LDFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V6 _ LPBIG _ OFFBIG _ LIBS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ ILP32 _ OFF32 _ CFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ ILP32 _ OFF32 _ LDFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ ILP32 _ OFF32 _ LIBS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ ILP32 _ OFFBIG _ CFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ ILP32 _ OFFBIG _ LDFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ ILP32 _ OFFBIG _ LIBS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ LP64 _ OFF64 _ CFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ LP64 _ OFF64 _ LDFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ LP64 _ OFF64 _ LIBS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ LPBIG _ OFFBIG _ CFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ LPBIG _ OFFBIG _ LDFLAGS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
Etc
:: CS _ POSIX _ V7 _ LPBIG _ OFFBIG _ LIBS -> Integer (18301.0) -
Etc.#confstr の引数に指定します。
Etc.#confstr の引数に指定します。
詳細は confstr(3) を参照してください。 -
OpenSSL
:: SSL :: OP _ MICROSOFT _ BIG _ SSLV3 _ BUFFER -> Integer (18301.0) -
SSL 通信での各種バグ回避コードを有効にするフラグです。
SSL 通信での各種バグ回避コードを有効にするフラグです。
OpenSSL::SSL::SSLContext#options= で利用します。
通常は OpenSSL::SSL::OP_ALL でこれらすべてを有効にします。
特定のフラグのみ無効にしたい場合は例えば
ctx.options = OP_ALL & ~OP_DONT_INSERT_EMPTY_FRAGMENTS
などとします。 -
OpenSSL
:: SSL :: OP _ MICROSOFT _ SESS _ ID _ BUG -> Integer (18301.0) -
SSL 通信での各種バグ回避コードを有効にするフラグです。
SSL 通信での各種バグ回避コードを有効にするフラグです。
OpenSSL::SSL::SSLContext#options= で利用します。
通常は OpenSSL::SSL::OP_ALL でこれらすべてを有効にします。
特定のフラグのみ無効にしたい場合は例えば
ctx.options = OP_ALL & ~OP_DONT_INSERT_EMPTY_FRAGMENTS
などとします。 -
rdoc
/ generator / json _ index (18145.0) -
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ クスを生成するサブライブラリです。
他のジェネレータが生成する HTML で検索が行えるように、JSON の検索インデッ
クスを生成するサブライブラリです。
This generator is derived from sdoc by Vladimir Kolesnikov and
contains verbatim code written by him.
このジェネレータは HTML ジェネレータと一緒に使うために設計されています。:
class RDoc::Generator::Darkfish
def initialize options
# ...
@base_dir = Pa... -
irb
/ completion (18055.0) -
irb の completion 機能を提供するライブラリです。
irb の completion 機能を提供するライブラリです。
=== 使い方
$ irb -r irb/completion
とするか, ~/.irbrc 中に
require "irb/completion"
を入れてください.
irb実行中に require "irb/completion" してもよいです.
irb 実行中に [Tab] を押すとコンプレーションします.
トップレベルで [Tab] を押すとすべての構文要素, クラス,
メソッドの候補がでます. 候補が唯一ならば完全に補完します.
irb(main):001:0> in
in... -
rubygems
/ commands / specification _ command (18055.0) -
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
指定された Gem パッケージの gemspec の情報を YAML 形式で表示するためのライブラリです。
Usage: gem specification [GEMFILE] [options]
Options:
-v, --version VERSION Specify version of gem to examine
--platform PLATFORM Specify the platform of gem to specification
--all ... -
DRbIdConv (18049.0)
-
Alias of DRb::DRbIdConv
Alias of DRb::DRbIdConv -
HTTPSession (18049.0)
-
Alias of Net::HTTP
Alias of Net::HTTP -
Net
:: APOPSession (18049.0) -
Alias of Net::APOP
Alias of Net::APOP -
Net
:: HTTPClientException (18049.0) -
Alias of Net::HTTPServerException
Alias of Net::HTTPServerException -
Net
:: HTTPRequestURITooLong (18049.0) -
Alias of Net::HTTPURITooLong
Alias of Net::HTTPURITooLong -
Net
:: POPSession (18049.0) -
Alias of Net::POP3
Alias of Net::POP3 -
Net
:: SMTPSession (18049.0) -
Alias of Net::SMTP
Alias of Net::SMTP -
Socket
:: Option . linger(onoff , secs) -> Socket :: Option (9901.0) -
SOL_SOCKET/SO_LINGER 用の Socket::Option オブジェクト を新たに生成し返します。
SOL_SOCKET/SO_LINGER 用の Socket::Option オブジェクト
を新たに生成し返します。
@param onoff 0/1もしくは真偽値
@param secs 整数値 -
JSON
:: State . new(options = {}) -> JSON :: State (9619.0) -
自身を初期化します。
自身を初期化します。
@param options ハッシュを指定します。
指定可能なオプションは以下の通りです。
: :indent
インデントに使用する文字列を指定します。デフォルトは空文字列です。
: :space
JSON 形式の文字列のトークン間に挿入する文字列を指定します。デフォルトは空文字列です。
: :space_before
JSON 形式の文字列中で JavaScript のオブジェクトを表す部分にある ':' の
前に挿入する文字列をセットします。デフォルトは空文字列です。
: :object_nl
JSON 形式の文字列中に現れる... -
Gem
:: Version :: Requirement (9049.0) -
Alias of Gem::Requirement
Alias of Gem::Requirement -
JSON
:: Ext :: Generator :: GeneratorMethods :: Array (9049.0) -
Alias of JSON::Generator::GeneratorMethods::Array
Alias of JSON::Generator::GeneratorMethods::Array -
JSON
:: Ext :: Generator :: GeneratorMethods :: FalseClass (9049.0) -
Alias of JSON::Generator::GeneratorMethods::FalseClass
Alias of JSON::Generator::GeneratorMethods::FalseClass -
JSON
:: Ext :: Generator :: GeneratorMethods :: Float (9049.0) -
Alias of JSON::Generator::GeneratorMethods::Float
Alias of JSON::Generator::GeneratorMethods::Float -
JSON
:: Ext :: Generator :: GeneratorMethods :: Hash (9049.0) -
Alias of JSON::Generator::GeneratorMethods::Hash
Alias of JSON::Generator::GeneratorMethods::Hash -
JSON
:: Ext :: Generator :: GeneratorMethods :: Integer (9049.0) -
Alias of JSON::Generator::GeneratorMethods::Integer
Alias of JSON::Generator::GeneratorMethods::Integer -
JSON
:: Ext :: Generator :: GeneratorMethods :: NilClass (9049.0) -
Alias of JSON::Generator::GeneratorMethods::NilClass
Alias of JSON::Generator::GeneratorMethods::NilClass -
JSON
:: Ext :: Generator :: GeneratorMethods :: Object (9049.0) -
Alias of JSON::Generator::GeneratorMethods::Object
Alias of JSON::Generator::GeneratorMethods::Object -
JSON
:: Ext :: Generator :: GeneratorMethods :: String (9049.0) -
Alias of JSON::Generator::GeneratorMethods::String
Alias of JSON::Generator::GeneratorMethods::String -
JSON
:: Ext :: Generator :: GeneratorMethods :: String :: Extend (9049.0) -
Alias of JSON::Generator::GeneratorMethods::String::Extend
Alias of JSON::Generator::GeneratorMethods::String::Extend -
JSON
:: Ext :: Generator :: GeneratorMethods :: TrueClass (9049.0) -
Alias of JSON::Generator::GeneratorMethods::TrueClass
Alias of JSON::Generator::GeneratorMethods::TrueClass -
JSON
:: Ext :: Generator :: State (9049.0) -
Alias of JSON::State
Alias of JSON::State -
JSON
:: Ext :: Parser (9049.0) -
Alias of JSON::Parser
Alias of JSON::Parser -
JSON
:: State # buffer _ initial _ length -> Integer (9049.0) -
This integer returns the current initial length of the buffer.
This integer returns the current initial length of the buffer. -
JSON
:: State # buffer _ initial _ length=(length) (9049.0) -
This sets the initial length of the buffer to length, if length > 0, otherwise its value isn't changed.
This sets the initial length of the buffer to length, if length > 0,
otherwise its value isn't changed.