2785件ヒット
[1-100件を表示]
(0.097秒)
ライブラリ
- ビルトイン (1315)
- bigdecimal (12)
-
cgi
/ core (12) - date (228)
- etc (12)
-
fiddle
/ import (72) - json (48)
- logger (1)
- matrix (204)
-
net
/ imap (36) - openssl (96)
- pathname (156)
- prime (108)
- psych (12)
-
rdoc
/ stats (60) -
rexml
/ document (36) -
ripper
/ lexer (16) - rubygems (12)
-
rubygems
/ package / tar _ writer (24) -
rubygems
/ specification (12) -
rubygems
/ user _ interaction (24) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - socket (144)
- stringio (43)
- strscan (36)
-
webrick
/ httpresponse (12) - zlib (36)
クラス
-
ARGF
. class (31) - Array (237)
- BasicSocket (24)
- BigDecimal (12)
- Binding (7)
- Complex (12)
- Data (3)
- Date (168)
- DateTime (60)
- Enumerator (12)
-
Enumerator
:: ArithmeticSequence (14) -
Enumerator
:: Chain (7) -
File
:: Stat (204) - Float (105)
-
Gem
:: Package :: TarWriter :: BoundedStream (12) -
Gem
:: Package :: TarWriter :: RestrictedStream (12) -
Gem
:: Specification (12) -
Gem
:: StreamUI (12) - IO (43)
- Integer (144)
-
JSON
:: State (36) -
Logger
:: Application (1) - MatchData (90)
- Matrix (192)
-
Matrix
:: LUPDecomposition (12) - Method (12)
- Module (12)
-
Net
:: IMAP (12) -
Net
:: IMAP :: FetchData (12) -
Net
:: IMAP :: StatusData (12) - Numeric (37)
-
OpenSSL
:: ASN1 :: ASN1Data (12) -
OpenSSL
:: OCSP :: BasicResponse (12) -
OpenSSL
:: OCSP :: Response (12) -
OpenSSL
:: PKey :: EC :: Group (12) -
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: X509 :: Certificate (24) - Pathname (156)
- Prime (12)
-
Prime
:: EratosthenesGenerator (24) -
Prime
:: Generator23 (24) -
Prime
:: PseudoPrimeGenerator (12) -
Prime
:: TrialDivisionGenerator (24) - Proc (12)
-
Process
:: Status (84) -
Psych
:: Emitter (12) -
RDoc
:: Stats (60) -
REXML
:: Attributes (24) -
REXML
:: Formatters :: Pretty (12) - Random (48)
- Range (12)
- Rational (96)
-
Ripper
:: Lexer (16) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Socket
:: AncillaryData (84) -
Socket
:: Option (24) - String (54)
- StringIO (43)
- StringScanner (36)
- Symbol (3)
- SystemExit (12)
- TCPServer (12)
-
Thread
:: Backtrace :: Location (12) - Time (12)
- TracePoint (12)
- UnboundMethod (12)
-
WEBrick
:: HTTPResponse (12) -
Zlib
:: GzipWriter (12) -
Zlib
:: Inflate (12) -
Zlib
:: ZStream (12)
モジュール
-
CGI
:: QueryExtension (12) -
Fiddle
:: Importer (72) -
Gem
:: QuickLoader (12) -
Gem
:: UserInteraction (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
OpenSSL
:: Buffering (12)
キーワード
- & (12)
- <=> (12)
- >> (12)
- [] (36)
- attr (12)
- begin (12)
- bind (12)
- binwrite (12)
- blksize (12)
- blocks (12)
-
buffer
_ initial _ length (12) - byteindex (3)
- byteoffset (6)
- byterindex (3)
-
calculate
_ integers _ for _ gem _ version (12) - ceil (28)
- chmod (12)
- chown (12)
- codepoints (21)
- cofactor (12)
-
cofactor
_ expansion (12) -
column
_ count (12) -
column
_ size (12) - combination (24)
-
const
_ source _ location (12) -
create
_ value (12) - cwday (12)
- cweek (12)
- cwyear (12)
- cycle (12)
- data (12)
-
data
_ type (12) - day (12)
- delete (12)
-
delete
_ at (12) - denominator (60)
- depth (12)
-
dev
_ major (12) -
dev
_ minor (12) - downto (12)
-
each
_ codepoint (48) - end (12)
- exitstatus (12)
- extern (12)
- family (12)
-
find
_ index (24) - flatten (12)
- flatten! (12)
- floor (29)
-
gateway
_ interface (12) - generator (12)
- gid (12)
- hash (70)
- hour (12)
- indentation (12)
- index (36)
- ino (12)
-
ip
_ pktinfo (12) -
ipv6
_ pktinfo (12) -
ipv6
_ pktinfo _ ifindex (12) - jd (12)
-
laplace
_ expansion (12) - lchmod (12)
- lchown (12)
- ld (12)
- length (24)
- level (12)
- lex (8)
- lineno (12)
- match (3)
- match? (12)
-
matched
_ size (12) - matchedsize (12)
-
max
_ nesting (12) - mday (12)
- min (12)
- minute (12)
- mjd (12)
- mode (12)
- mon (12)
- month (12)
- mountpoint? (12)
- next (36)
- nlink (12)
-
num
_ classes (12) -
num
_ files (12) -
num
_ methods (12) -
num
_ modules (12) - numerator (48)
- offset (24)
- pack (21)
- parse (8)
- path (12)
- pathconf (12)
- permutation (24)
- pid (12)
- pivots (12)
-
prime
_ division (24) - print (12)
- printf (60)
- rand (36)
- rank (12)
-
rank
_ e (12) - rationalize (24)
- rdev (12)
-
rdev
_ major (12) -
rdev
_ minor (12) - recvmsg (12)
-
recvmsg
_ nonblock (12) -
repeated
_ combination (24) -
repeated
_ permutation (24) - rindex (12)
- rotate (12)
- rotate! (12)
- round (37)
-
row
_ count (12) -
row
_ size (12) - sec (12)
- second (12)
- seqno (12)
- serial (12)
-
session
_ cache _ stats (12) -
set
_ log (1) - size (86)
- size? (12)
-
source
_ location (43) -
specification
_ version (12) - start (12)
- state (12)
- status (60)
- stopsig (12)
- struct (12)
- subsec (12)
- succ (36)
-
sync
_ point? (12) - sysaccept (12)
- sysopen (12)
- tag (12)
-
terminate
_ interaction (24) - termsig (12)
- times (12)
-
to
_ f (12) -
to
_ i (36) -
to
_ json (12) -
to
_ r (12) -
to
_ s (12) - tr (12)
- trace (12)
- truncate (72)
- type (12)
- uid (12)
- union (12)
- unlink (12)
- unpack (12)
-
upper
_ bound (12) - upto (12)
- utime (30)
- value (12)
- version (12)
- wday (12)
- width (12)
-
world
_ readable? (12) -
world
_ writable? (12) - write (36)
- yday (12)
- year (12)
検索結果
先頭5件
-
Socket
:: AncillaryData # int -> Integer (21226.0) -
自身が保持している cmsg data (データ) を整数の形で返します。
...いる cmsg data (データ) を整数の形で返します。
整数データのサイズおよびエンディアンは実行するホストによって異なります。
require 'socket'
ancdata = Socket::AncillaryData.int(:UNIX, :SOCKET, :RIGHTS, STDERR.fileno)
p ancdata.int #=> 2
@rais......e TypeError cmgs data のサイズが int のバイト数と異なる場合に発生します
@see Socket::AncillaryData.new Socket::AncillaryData.int... -
Gem
:: UserInteraction # terminate _ interaction(*args) -> () (15201.0) -
アプリケーションを終了します。
アプリケーションを終了します。
@param args 委譲先のメソッドに与える引数です。 -
Array
# at(nth) -> object | nil (15110.0) -
nth 番目の要素を返します。nth 番目の要素が存在しない時には nil を返します。
...ックスと見倣します。末尾の要素が -1 番目になります。
整数以外のオブジェクトを指定した場合は to_int メソッドによる
暗黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)... -
Array
# repeated _ combination(n) -> Enumerator (12307.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
...出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を......epeated_combination(1).to_a #=> [[1], [2], [3]]
a.repeated_combination(2).to_a #=> [[1,1],[1,2],[1,3],[2,2],[2,3],[3,3]]
a.repeated_combination(3).to_a #=> [[1,1,1],[1,1,2],[1,1,3],[1,2,2],[1,2,3],
# [1,3,3],[2,2,2],[2,2,3],[2,3,3],[3,3,3]]
a.repeated_combinatio......3,3]]
a.repeated_combination(0).to_a #=> [[]] # one combination of length 0
//}
ブロックが与えられた場合、作成した配列の各要素を引数としてブロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2, 3]
result = []
a.repeated_combination(3) {|e|... -
Array
# repeated _ permutation(n) -> Enumerator (12307.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
...で呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試......eated_permutation(1).to_a #=> [[1], [2]]
a.repeated_permutation(2).to_a #=> [[1,1],[1,2],[2,1],[2,2]]
a.repeated_permutation(3).to_a #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
a.repeated_permutation(0).to_a #=> [[]] # one permutati......ロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2]
result = []
a.repeated_permutation(3) {|e| result << e} # => [1,2]
result #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
//}
@see Array#repeated_combination, Array#permutation... -
Gem
:: StreamUI # terminate _ interaction(status = 0) -> () (12301.0) -
アプリケーションを終了します。
...アプリケーションを終了します。
@param status 終了ステータスを指定します。デフォルトは 0 (成功) です。
@raise Gem::SystemExitException このメソッドを呼び出すと必ず発生する例外です。... -
Array
# repeated _ combination(n) { |c| . . . } -> self (12207.0) -
サイズ n の重複組み合わせをすべて生成し、それを引数としてブロックを実行 します。
...出されると、
組み合わせを生成する Enumerator オブジェクトを返します。
@param n 生成される配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を......epeated_combination(1).to_a #=> [[1], [2], [3]]
a.repeated_combination(2).to_a #=> [[1,1],[1,2],[1,3],[2,2],[2,3],[3,3]]
a.repeated_combination(3).to_a #=> [[1,1,1],[1,1,2],[1,1,3],[1,2,2],[1,2,3],
# [1,3,3],[2,2,2],[2,2,3],[2,3,3],[3,3,3]]
a.repeated_combinatio......3,3]]
a.repeated_combination(0).to_a #=> [[]] # one combination of length 0
//}
ブロックが与えられた場合、作成した配列の各要素を引数としてブロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2, 3]
result = []
a.repeated_combination(3) {|e|... -
Array
# repeated _ permutation(n) { |p| . . . } -> self (12207.0) -
サイズ n の重複順列をすべて生成し,それを引数としてブロックを実行します。
...で呼び出されると, 順列
を生成する Enumerator オブジェクトを返します。
@param n 生成する配列のサイズを整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによる暗
黙の型変換を試......eated_permutation(1).to_a #=> [[1], [2]]
a.repeated_permutation(2).to_a #=> [[1,1],[1,2],[2,1],[2,2]]
a.repeated_permutation(3).to_a #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
a.repeated_permutation(0).to_a #=> [[]] # one permutati......ロックを実
行して self を返します。
//emlist[例][ruby]{
a = [1, 2]
result = []
a.repeated_permutation(3) {|e| result << e} # => [1,2]
result #=> [[1,1,1],[1,1,2],[1,2,1],[1,2,2],
# [2,1,1],[2,1,2],[2,2,1],[2,2,2]]
//}
@see Array#repeated_combination, Array#permutation... -
CGI
:: QueryExtension # gateway _ interface -> String (12201.0) -
ENV['GATEWAY_INTERFACE'] を返します。
...ENV['GATEWAY_INTERFACE'] を返します。...