ライブラリ
- ビルトイン (521)
- csv (12)
-
net
/ http (324) - openssl (12)
- psych (12)
- readline (36)
-
rubygems
/ commands / dependency _ command (12) -
rubygems
/ dependency _ list (12) -
rubygems
/ indexer (60) -
rubygems
/ source _ index (36) -
rubygems
/ source _ info _ cache _ entry (24) - socket (36)
- syslog (24)
-
webrick
/ httputils (12) -
win32
/ registry (192) -
yaml
/ dbm (12)
クラス
- Array (342)
-
CSV
:: Table (12) - Enumerator (24)
-
Enumerator
:: Lazy (12) -
Gem
:: Commands :: DependencyCommand (12) -
Gem
:: DependencyList (12) -
Gem
:: Indexer (60) -
Gem
:: SourceIndex (36) -
Gem
:: SourceInfoCacheEntry (24) - Hash (80)
- MatchData (4)
-
Net
:: HTTP (12) -
Net
:: HTTPGenericRequest (72) -
Net
:: HTTPResponse (48) -
Psych
:: Parser :: Mark (12) -
RubyVM
:: InstructionSequence (12) -
Socket
:: AncillaryData (36) - String (40)
-
YAML
:: DBM (12)
モジュール
-
Net
:: HTTPHeader (192) - Syslog (24)
-
WEBrick
:: HTTPUtils (12) -
Win32
:: Registry :: API (192)
オブジェクト
- ENV (7)
-
Readline
:: HISTORY (36)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - ASN1 (12)
- CloseKey (12)
- CreateKey (12)
- DeleteKey (12)
- DeleteValue (12)
- EnumKey (12)
- EnumValue (12)
- FlushKey (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 3 . 0 (10) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) - OpenKey (12)
- QueryInfoKey (12)
- QueryValue (12)
- Ruby が動作するプラットフォーム (12)
- Ruby変更履歴 (12)
- SetValue (12)
- [] (36)
- []= (24)
- body (24)
- body= (12)
-
body
_ stream (12) -
body
_ stream= (12) - bsearch (20)
-
bsearch
_ index (20) - bytebegin (2)
- byteend (2)
- byteindex (3)
- byterindex (3)
- bytesplice (10)
- check (12)
-
compact
_ specs (12) -
content
_ type= (12) - delete (12)
-
delete
_ at (12) -
dest
_ directory (12) - directory (12)
- each (24)
-
each
_ index (24) -
each
_ key (12) -
each
_ name (12) - entity (12)
- fetch (72)
-
fetch
_ values (2) - fill (72)
- filter! (7)
-
find
_ gems (12) -
find
_ index (36) -
from
_ source _ index (12) -
gem
_ file _ list (12) - get (12)
-
get
_ fields (12) - getbyte (12)
-
ip
_ pktinfo (12) -
ipv6
_ pktinfo (12) -
ipv6
_ pktinfo _ ifindex (12) -
keep
_ if (12) - key (14)
- key? (12)
-
latest
_ specs (12) -
main
_ type (12) - mask (12)
- mask= (12)
-
mime
_ type (12) - new (48)
- outdated (12)
- packdw (12)
- packqw (12)
-
proxy
_ basic _ auth (12) -
read
_ body (24) - refresh (12)
-
request
_ body _ permitted? (12) -
response
_ body _ permitted? (12) - rindex (36)
- rss (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ indexer (12) -
rubygems
/ server (12) -
rubygems
/ source _ index (12) - search (12)
- select! (12)
-
set
_ content _ type (12) - setbyte (12)
-
source
_ index (12) -
sub
_ type (12) -
to
_ a (12) -
transform
_ keys (21) -
transform
_ keys! (21) -
type
_ params (12) - unpackdw (12)
- unpackqw (12)
-
with
_ index (36) - オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (12)
検索結果
先頭5件
-
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル (26006.0)
-
オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル * Ruby オフィシャルサイト https://www.ruby-lang.org/ja/ * version 2.3 対応リファレンス * 原著:まつもとゆきひろ * 最新版URL: https://www.ruby-lang.org/ja/documentation/
...オブジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上の注意
組込みクラスのリ......次
* spec/intro
* spec/commands
* spec/rubycmd
* spec/envvars
==== Ruby 言語仕様
Ruby でのオブジェクト:
* spec/object
* spec/class
プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread
* spec/safelevel
Ruby の文法:
* spec/lexical
* spec/program......g
その他:
* spec/m17n
* spec/regexp
* spec/lambda_proc
==== 組み込みライブラリ
* _builtin
==== 標準添付ライブラリ
* /
==== C API
* /
==== その他
* news/index
* pack_template
* print_format
* glossary
* symref
* marshal_format
* license
* help......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.3 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.4 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.5 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.6 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 2.7 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.0 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.1 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.2 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上......=== 目次
* spec/intro
* spec/commands
* spec/rubycmd
* spec/envvars
==== Ruby 言語仕様
Ruby でのオブジェクト:
* spec/object
* spec/class
プロセスの実行:
* spec/eval
* spec/terminate
* spec/thread
Ruby の文法:
* spec/lexical
* spec/program
* spec/var......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.3 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上......ジェクト指向スクリプト言語 Ruby リファレンスマニュアル
* Ruby オフィシャルサイト https://www.ruby-lang.org/ja/
* version 3.4 対応リファレンス
* 原著:まつもとゆきひろ
* 最新版URL: https://www.ruby-lang.org/ja/documentation/
=== 使用上... -
Array
# index -> Enumerator (21130.0) -
条件に一致する最初の要素の位置を返します。
...す。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
p [1, 0, 0, 1, 0].index(1) #=> 0
p [1, 0, 0, 0, 0].index(1) #=> 0
p [0, 0, 0, 0, 0].index(1) #=> nil
//}
ブロックが与えられた場合には、各要素を引数として順にブロ......返します。
一つも真にならなかった場合は nil を返します。
//emlist[例][ruby]{
p [0, 1, 0, 1, 0].index {|v| v > 0} #=> 1
//}
引数、ブロックのどちらも与えられなかった場合は、
Enumerator のインスタンスを返します。
@see Array#rindex... -
Array
# index {|item| . . . } -> Integer | nil (21130.0) -
条件に一致する最初の要素の位置を返します。
...す。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
p [1, 0, 0, 1, 0].index(1) #=> 0
p [1, 0, 0, 0, 0].index(1) #=> 0
p [0, 0, 0, 0, 0].index(1) #=> nil
//}
ブロックが与えられた場合には、各要素を引数として順にブロ......返します。
一つも真にならなかった場合は nil を返します。
//emlist[例][ruby]{
p [0, 1, 0, 1, 0].index {|v| v > 0} #=> 1
//}
引数、ブロックのどちらも与えられなかった場合は、
Enumerator のインスタンスを返します。
@see Array#rindex... -
Array
# index(val) -> Integer | nil (21130.0) -
条件に一致する最初の要素の位置を返します。
...す。
等しい要素がひとつもなかった場合は nil を返します。
//emlist[例][ruby]{
p [1, 0, 0, 1, 0].index(1) #=> 0
p [1, 0, 0, 0, 0].index(1) #=> 0
p [0, 0, 0, 0, 0].index(1) #=> nil
//}
ブロックが与えられた場合には、各要素を引数として順にブロ......返します。
一つも真にならなかった場合は nil を返します。
//emlist[例][ruby]{
p [0, 1, 0, 1, 0].index {|v| v > 0} #=> 1
//}
引数、ブロックのどちらも与えられなかった場合は、
Enumerator のインスタンスを返します。
@see Array#rindex... -
Psych
:: Parser :: Mark # index -> Integer (21101.0) -
先頭からの文字数。
先頭からの文字数。 -
YAML
:: DBM # index(value) -> String | nil (21101.0) -
value を持つ要素のキーを返します。
...らなかった場合は nil を返します。
@param value 検索したい値を指定します。YAML 形式に変換できるオブジェク
トが指定できます。
[注意] 非推奨のメソッドです。代わりに #key を使用してください。
@see YAML::DBM#key... -
String
# byterindex(pattern , offset = self . bytesize) -> Integer | nil (12300.0) -
文字列のバイト単位のインデックス offset から左に向かって pattern を探索します。 最初に見つかった部分文字列の左端のバイト単位のインデックスを返します。 見つからなければ nil を返します。
...たは正規表現で指定します。
offset が負の場合は、文字列の末尾から数えた位置から探索します。
byterindex と String#byteindex とでは、探索方向だけが逆になります。
完全に左右が反転した動作をするわけではありません。
探......[String#byteindex の場合][ruby]{
p "stringstring".byteindex("ing", 1) # => 3
# ing # ここから探索を始める
# ing
# ing # 右にずらしていってここで見つかる
//}
//emlist[String#byterindex の場合][ruby]{
p "stringstring".byterindex("ing", -......ruby]{
'foo'.byterindex('f') # => 0
'foo'.byterindex('o') # => 2
'foo'.byterindex('oo') # => 1
'foo'.byterindex('ooo') # => nil
'foo'.byterindex(/f/) # => 0
'foo'.byterindex(/o/) # => 2
'foo'.byterindex(/oo/) # => 1
'foo'.byterindex(/ooo/) # => nil
# 右でのマッチが優先
'foo'.byterindex(/o... -
String
# byteindex(pattern , offset = 0) -> Integer | nil (12206.0) -
文字列の offset から右に向かって pattern を検索し、 最初に見つかった部分文字列の左端のバイト単位のインデックスを返します。 見つからなければ nil を返します。
...@raise IndexError オフセットが文字列の境界以外をさしているときに発生します。
//emlist[例][ruby]{
'foo'.byteindex('f') # => 0
'foo'.byteindex('o') # => 1
'foo'.byteindex('oo') # => 1
'foo'.byteindex('ooo') # => nil
'foo'.byteindex(/f/) # => 0
'foo'.byteindex(/o/) # =.......byteindex(/oo/) # => 1
'foo'.byteindex(/ooo/) # => nil
'foo'.byteindex('o', 1) # => 1
'foo'.byteindex('o', 2) # => 2
'foo'.byteindex('o', 3) # => nil
'foo'.byteindex('o', -1) # => 2
'foo'.byteindex('o', -2) # => 1
'foo'.byteindex('o', -3) # => 1
'foo'.byteindex('o', -4) # => nil
'あいう'.byte......index('う') # => 6
'あいう'.byteindex('う', 3) # => 6
'あいう'.byteindex('う', -3) # => 6
'あいう'.byteindex('う', 1) # offset 1 does not land on character boundary (IndexError)
//}
@see String#index, String#byterindex... -
rubygems
/ commands / generate _ index _ command (12066.0) -
ある Gem サーバに対するインデックスを作成するためのライブラリです。
...サーバに対するインデックスを作成するためのライブラリです。
Usage: gem generate_index [options]
Options:
-d, --directory=DIRNAME repository base dir containing gems subdir
Common Options:
-h, --help このコマンド......Ruby 自体のデバッグオプションを有効にします
Summary:
Generates the index files for a gem server directory
Description:
The generate_index command creates a set of indexes for serving gems
statically. The command expects a 'gems' directory under th......n to
the --directory option. When done, it will generate a set of files like
this:
gems/ # .gem files you want to
index
quick/index
quick/index.rz # quick index manifest
quick/<... -
rubygems
/ indexer (12000.0) -
Gem リポジトリのインデックスを作成するためのクラスを扱うためのライブラリです。
Gem リポジトリのインデックスを作成するためのクラスを扱うためのライブラリです。
