8558件ヒット
[1-100件を表示]
(0.046秒)
種類
ライブラリ
- English (96)
- ビルトイン (4742)
- csv (192)
- date (60)
- dbm (12)
- etc (24)
- fiddle (24)
-
fiddle
/ import (12) - find (12)
- gdbm (12)
- getoptlong (96)
-
irb
/ ext / history (12) -
irb
/ ext / save-history (24) -
irb
/ inspector (12) - json (24)
- logger (12)
- matrix (458)
- mkmf (36)
-
net
/ ftp (48) -
net
/ http (60) -
net
/ imap (60) -
net
/ smtp (92) -
net
/ telnet (4) - openssl (492)
- optparse (204)
- ostruct (38)
- pathname (216)
- prime (168)
- pstore (60)
- psych (60)
- rake (24)
-
rdoc
/ top _ level (48) - readline (48)
-
rexml
/ document (60) -
ripper
/ lexer (12) -
rubygems
/ source _ index (12) - sdbm (12)
- set (18)
- shell (30)
-
shell
/ command-processor (30) -
shell
/ filter (42) - socket (72)
- stringio (88)
- tsort (90)
- uri (24)
-
webrick
/ httpauth / authenticator (12) -
webrick
/ httpresponse (24) - win32ole (60)
- zlib (72)
クラス
-
ARGF
. class (138) - Addrinfo (60)
- Array (855)
- CSV (120)
-
CSV
:: FieldInfo (12) -
CSV
:: Row (24) -
CSV
:: Table (24) - DBM (12)
- Data (6)
- Date (60)
- Dir (83)
- Enumerator (133)
-
Enumerator
:: ArithmeticSequence (62) -
Enumerator
:: Chain (21) -
Enumerator
:: Lazy (365) -
Enumerator
:: Yielder (30) -
Etc
:: Group (12) -
Etc
:: Passwd (12) - Exception (12)
-
Fiddle
:: Function (12) - File (60)
- Float (18)
- GDBM (12)
-
Gem
:: SourceIndex (12) - GetoptLong (96)
- Hash (361)
- IO (216)
-
IRB
:: Context (36) -
IRB
:: Inspector (12) - Integer (76)
- Logger (12)
- MatchData (48)
- Matrix (226)
-
Matrix
:: LUPDecomposition (12) - Module (48)
-
Net
:: FTP (48) -
Net
:: HTTP (12) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (24) -
Net
:: IMAP (24) -
Net
:: IMAP :: Envelope (36) -
Net
:: SMTP (92) -
Net
:: Telnet (4) - Numeric (93)
- Object (114)
-
OpenSSL
:: PKey :: DH (24) -
OpenSSL
:: PKey :: DSA (120) -
OpenSSL
:: PKey :: RSA (132) -
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: X509 :: ExtensionFactory (48) -
OpenSSL
:: X509 :: Store (84) -
OpenSSL
:: X509 :: StoreContext (36) - OpenStruct (38)
- OptionParser (204)
- PStore (60)
- Pathname (216)
- Prime (48)
-
Prime
:: PseudoPrimeGenerator (108) - Proc (43)
-
Process
:: Status (12) -
Psych
:: Nodes :: Node (36) -
Psych
:: Visitors :: YAMLTree (24) -
RDoc
:: TopLevel (48) -
REXML
:: Parent (48) - Random (36)
- Range (71)
- Rational (60)
- Regexp (48)
- Ripper (12)
- SDBM (12)
- Shell (30)
-
Shell
:: CommandProcessor (30) -
Shell
:: Filter (42) - String (284)
- StringIO (88)
- Struct (105)
- Symbol (177)
- Thread (60)
-
Thread
:: Backtrace :: Location (36) - Time (12)
- TracePoint (24)
-
URI
:: Generic (24) - UnboundMethod (12)
- Vector (220)
-
WEBrick
:: HTTPResponse (24) - WIN32OLE (12)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ METHOD (12) -
WIN32OLE
_ VARIABLE (24) -
Zlib
:: GzipReader (36) -
Zlib
:: GzipWriter (36)
モジュール
- Enumerable (533)
-
Fiddle
:: Importer (12) - Find (12)
- JSON (24)
- Kernel (329)
- Marshal (12)
- ObjectSpace (24)
- Process (24)
-
Rake
:: TaskManager (12) - Readline (12)
- TSort (90)
-
WEBrick
:: HTTPAuth :: Authenticator (12)
オブジェクト
- ENV (227)
-
Readline
:: HISTORY (36)
キーワード
-
$ CHILD _ STATUS (12) -
$ ERROR _ INFO (12) -
$ FIELD _ SEPARATOR (12) -
$ FS (12) -
$ INPUT _ RECORD _ SEPARATOR (12) -
$ OUTPUT _ FIELD _ SEPARATOR (12) -
$ OUTPUT _ RECORD _ SEPARATOR (12) -
$ RS (12) - % (14)
- * (12)
- + (12)
- - (12)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (24)
- <=> (24)
- =~ (12)
-
ALT
_ SEPARATOR (12) - ASN1 (12)
- BlockCaller (12)
-
CLOCK
_ MONOTONIC (12) - CSV (12)
- DATA (12)
- ExternalEntity (12)
- Float (7)
- Integer (7)
- Lazy (12)
- Location (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - Numeric (12)
- OCSP (12)
-
PATH
_ SEPARATOR (12) - RSA (12)
- Ruby用語集 (12)
- Status (12)
- TCPServer (12)
- [] (180)
- abort (12)
-
absolute
_ path (12) -
add
_ class _ or _ module (12) -
add
_ trace _ func (12) -
all
_ classes _ and _ modules (12) -
all
_ symbols (12) - append (18)
- ascend (24)
- at (12)
- autoclose? (12)
- autoload? (24)
-
backtrace
_ locations (24) - begin (6)
- bigdecimal (12)
-
bigdecimal
/ newton (12) - bind (12)
- binread (12)
-
body
_ stream (12) -
body
_ stream= (12) - bsearch (24)
-
bsearch
_ index (10) - bytes (45)
- call (12)
- caller (36)
- casecmp (12)
- casecmp? (9)
- cat (18)
- ceil (12)
-
cert
_ store (24) - chain (24)
- chars (45)
-
check
_ signedness (24) - chunk (36)
-
chunk
_ while (21) -
clock
_ gettime (12) - codepoints (45)
- cofactor (12)
-
cofactor
_ expansion (12) -
col
_ sep (12) - collect (86)
- collect! (33)
- collect2 (24)
-
collect
_ concat (24) - column (12)
- combination (24)
- combine (8)
- commit (12)
- component (12)
-
connect
_ to (24) -
content
_ length (12) -
content
_ length= (12) -
create
_ makefile (12) -
create
_ rule (12) - crl (12)
-
current
_ crl (12) - cycle (36)
-
def
_ inspector (12) -
default
_ proc= (12) - delete (36)
-
delete
_ at (24) -
delete
_ if (84) - descend (24)
- detect (12)
- downto (48)
-
drop
_ while (36) - each (448)
- each2 (24)
-
each
_ byte (72) -
each
_ char (48) -
each
_ child (59) -
each
_ codepoint (60) -
each
_ cons (12) -
each
_ entry (27) -
each
_ grapheme _ cluster (16) -
each
_ index (24) -
each
_ key (24) -
each
_ line (132) -
each
_ object (24) -
each
_ option (12) -
each
_ pair (60) -
each
_ prime (12) -
each
_ slice (12) -
each
_ strongly _ connected _ component (22) -
each
_ strongly _ connected _ component _ from (22) -
each
_ value (24) -
each
_ with _ index (48) -
each
_ with _ object (12) - eager (6)
- echo (18)
- element (12)
- empty? (9)
- end (7)
-
enum
_ for (48) - error (24)
- error= (12)
- error? (12)
-
error
_ string (12) -
eval
_ history (12) - export (48)
- fetch (84)
-
fetch
_ values (2) - fiddle (12)
-
fiddle
/ import (12) - filter (42)
- filter! (21)
-
filter
_ map (12) - find (48)
-
find
_ all (24) -
find
_ class _ named (12) -
find
_ index (60) -
find
_ local _ symbol (12) - finish (12)
- first (38)
-
flat
_ map (24) - flatten (12)
- flatten! (12)
- flock (12)
- floor (12)
- foreach (72)
- formatter (12)
- generate (24)
- getoptlong (12)
- glob (18)
-
grapheme
_ clusters (16) - grep (12)
-
grep
_ v (10) -
group
_ by (12) - gsub (24)
- gsub! (12)
- handler= (12)
-
header
_ convert (36) - help (12)
- helpstring (12)
-
history
_ file (12) -
in
_ reply _ to (12) - index (55)
- inspect (36)
-
ipv6
_ to _ ipv4 (12) - irb (12)
-
issuer
_ certificate (12) -
keep
_ if (36) - key (12)
- lambda (13)
- lambda? (12)
-
laplace
_ expansion (12) - last (38)
- lazy (12)
- line (12)
- lines (73)
- load (12)
- logger (12)
- loop (12)
- map (86)
- map! (33)
- map2 (12)
- match (36)
-
max
_ by (48) - merge (24)
- merge! (24)
-
min
_ by (24) -
minmax
_ by (12) - name (24)
-
net
/ http (12) -
net
/ smtp (12) - new (222)
- normalize (12)
- normalize! (12)
-
ole
_ query _ interface (12) - open (72)
- opendir (24)
-
optparse
/ date (12) - order (36)
- order! (18)
- owner (12)
- pack (21)
- pack テンプレート文字列 (12)
- parse (18)
- parse! (9)
- partition (12)
- path (39)
- pathmap (12)
- permutation (24)
- permute (18)
- permute! (9)
- pop (24)
- proc (14)
- produce (6)
-
program
_ name (12) -
program
_ name= (12) - putc (12)
- quiet (12)
- quiet? (12)
- rake (12)
- rand (60)
- rdoc (12)
-
rdoc
/ parser / c (12) - read (12)
-
read
_ body (24) - readline (12)
- ready (12)
- reject (108)
- reject! (48)
-
repeated
_ combination (24) -
repeated
_ permutation (24) -
reply
_ to (12) - resolv (12)
-
respond
_ to? (12) - restore (24)
-
reverse
_ each (26) -
rexml
/ parsers / sax2parser (12) - rindex (12)
- round (12)
- row (12)
- rss (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 8 . 5 feature (12) -
ruby 1
. 9 feature (12) - rubygems (12)
- sample (48)
-
save
_ history (12) - select (72)
- select! (36)
-
send
_ mail (12) - sendmail (12)
- separator (12)
-
set
_ backtrace (12) -
set
_ trace _ func (24) - shift (24)
- size (26)
- slice (60)
-
slice
_ after (46) -
slice
_ before (60) -
slice
_ when (23) - solve (12)
- sort (24)
- sort! (24)
-
sort
_ by (12) -
sort
_ by! (12) -
source
_ location (12) - spawn (48)
- start (32)
- step (124)
- stopsig (12)
- storbinary (24)
- store (12)
- storlines (24)
-
subject
_ certificate (12) -
subject
_ request (12) - subsec (12)
- summarize (24)
- syswrite (12)
-
take
_ while (48) - tap (12)
- tee (18)
- terminated? (12)
- then (14)
- times (12)
-
to
_ a (12) -
to
_ csv (12) -
to
_ enum (48) -
to
_ h (95) -
to
_ i (21) -
to
_ path (27) -
to
_ pem (48) -
to
_ proc (6) -
to
_ s (126) -
to
_ set (24) -
to
_ yaml (12) -
token
_ match (12) - tracer (12)
- transaction (12)
-
transform
_ keys (20) -
transform
_ keys! (20) -
transform
_ values (18) -
transform
_ values! (18) - tree (12)
- truncate (21)
-
try
_ convert (64) - tsort (12)
-
tsort
_ each (22) -
tsort
_ each _ child (12) -
tsort
_ each _ node (12) -
uid
_ store (12) - uniq (42)
- uniq! (24)
- unpack (12)
- update (24)
-
upper
_ bound (12) - upto (60)
- userdb (12)
- verify (24)
-
verify
_ callback (12) -
verify
_ callback= (12) -
with
_ index (60) -
with
_ object (48) - write (24)
- yaml (12)
- yield (12)
-
yield
_ self (16) - zip (60)
- クラス/メソッドの定義 (12)
- メソッド呼び出し(super・ブロック付き・yield) (12)
- 制御構造 (12)
- 正規表現 (12)
- 演算子式 (12)
検索結果
先頭5件
-
Net
:: IMAP :: Envelope # to -> [Net :: IMAP :: Address] | nil (18218.0) -
To を Net::IMAP::Address オブジェクトの配列で返します。
...To を Net::IMAP::Address オブジェクトの配列で返します。
エンベロープに存在しないときは nil を返します。... -
Shell
:: Filter # |(filter) -> object (18136.0) -
パイプ結合を filter に対して行います。
...ll.def_system_command("tail")
Shell.def_system_command("head")
Shell.def_system_command("wc")
sh = Shell.new
sh.transact {
i = 1
while i <= (cat("/etc/passwd") | wc("-l")).to_s.chomp.to_i
puts (cat("/etc/passwd") | head("-n #{i}") | tail("-n 1")).to_s
i += 1
end
}... -
Array
# |(other) -> Array (18112.0) -
集合の和演算です。両方の配列にいずれかに含まれる要素を全て含む新し い配列を返します。重複する要素は取り除かれます。
...た場合は to_ary メソッドによ
る暗黙の型変換を試みます。
@raise TypeError 引数に配列以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
//emlist[例][ruby]{
[1, 1, 4, 2, 3] | [5, 4, 5] #... -
IRB
:: Inspector . def _ inspector(key , arg = nil) { |v| . . . } -> object (9220.0) -
新しい実行結果の出力方式を定義します。
...ロックを指定しない場合には、実行結果の出力のための手続きオ
ブジェクトを指定します。
例.
# .irbrc
IRB::Inspector.def_inspector([:test]){ |v| v.to_s * 2 }
$ irb --inspect test
irb(main):001:0> :abc # => abcabc
@see lib:irb#inspect_mode... -
Enumerator
:: Yielder # to _ proc -> Proc (9125.0) -
Enumerator.new で使うメソッドです。
...Enumerator.new で使うメソッドです。
引数を Enumerator::Yielder#yield に渡す Proc を返します。
これは Enumerator::Yielder オブジェクトを他のメソッドにブロック引数と
して直接渡すために使えます。
//emlist[例][ruby]{
text = <<-END
Hello
こ......んにちは
END
enum = Enumerator.new do |y|
text.each_line(&y)
end
enum.each do |line|
p line
end
# => "Hello\n"
# "こんにちは\n"
//}... -
Matrix
# cofactor _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (6406.0) -
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]].laplace_expansion(row: 0) # => Vector[3, -2]
//}
@param row 行
@param column 列
@raise ArgumentError row と column を両方指定した、もし......くは両方とも指定していない、場合に発生します
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方でない場合に発生します
@see Matrix#cofactor... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (6362.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
...Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が......正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) #=> [1,1,2,2,3,3]
def repeat(n)
ra......en?
each do |*val|
n.times { yield *val }
end
else
to_enum(:repeat, n)
end
end
end
r = 1..10
p r.map{|n| n**2}.repeat(2).first(5)
#=> [1, 1, 4, 4, 9]
r = 1..Float::INFINITY
p r.lazy.map{|n| n**2}.repeat(2).first(5)
#=> [1, 1, 4, 4, 9]
# Lazy#to_enum のおか... -
Matrix
# cofactor(row , column) -> Integer | Rational | Float (6302.0) -
(row, column)-余因子を返します。
(row, column)-余因子を返します。
各要素の型によって返り値が変わります。
@param row 行
@param column 列
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方でない場合に発生します。
@see Matrix#adjugate -
Net
:: HTTP # cert _ store -> OpenSSL :: X509 :: Store | nil (6301.0) -
接続相手の証明書の検証のために使う、信頼している CA 証明書を 含む証明書ストアを返します。
...接続相手の証明書の検証のために使う、信頼している CA 証明書を
含む証明書ストアを返します。
@see Net::HTTP#cert_store, OpenSSL::SSL::SSLContext#cert_store=... -
OpenSSL
:: SSL :: SSLContext # cert _ store -> OpenSSL :: X509 :: Store | nil (6301.0) -
接続相手の証明書の検証のために使う、信頼している CA 証明書を 含む証明書ストアを返します。
...接続相手の証明書の検証のために使う、信頼している CA 証明書を
含む証明書ストアを返します。
デフォルトは nil です。
@see OpenSSL::SSL::SSLContext#cert_store=...