ライブラリ
- ビルトイン (349)
- fiddle (24)
- ipaddr (12)
- json (24)
- pathname (24)
-
racc
/ parser (12) -
rexml
/ document (12)
クラス
- Array (36)
-
Fiddle
:: Pointer (24) - File (18)
- IPAddr (12)
- Object (24)
- Pathname (12)
-
REXML
:: Attribute (12) -
Racc
:: Parser (12) - String (72)
オブジェクト
- ENV (199)
キーワード
- * (24)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - <=> (12)
- == (12)
- === (12)
- Pathname (12)
- STR2CSTR (12)
- SafeStringValue (12)
- StringValue (12)
- StringValuePtr (12)
- [] (12)
- []= (12)
-
absolute
_ path? (6) - delete (24)
- fetch (36)
-
has
_ key? (12) -
has
_ value? (12) - include? (12)
- index (7)
- join (24)
- key (12)
- key? (12)
- load (12)
- member? (12)
- new (12)
- restore (12)
-
ruby 1
. 9 feature (12) - store (12)
-
to
_ s (24) -
to
_ string (24) -
token
_ to _ str (12) -
try
_ convert (12) - value? (12)
-
values
_ at (12)
検索結果
-
Pathname
. new(path) -> Pathname (6.0) -
文字列 path を元に Pathname オブジェクトを生成します。
...me オブジェクトを生成します。
@param path 文字列、または類似のオブジェクトを与えます。
実際には to_str に反応するオブジェクトなら何でも構いません。
@raise ArgumentError path が \0 を含んでいると発生します。
//e... -
String
# <=>(other) -> -1 | 0 | 1 | nil (6.0) -
self と other を ASCII コード順で比較して、 self が大きい時には 1、等しい時には 0、小さい時には -1 を返します。 このメソッドは Comparable モジュールのメソッドを実装するために使われます。
...のメソッドは Comparable モジュールのメソッドを実装するために使われます。
other が文字列でない場合、
other.to_str と other.<=> が定義されていれば
0 - (other <=> self) の結果を返します。
そうでなければ nil を返します。
@param ot... -
Array
# *(times) -> Array (1.0) -
配列の内容を times 回 繰り返した新しい配列を作成して返します。 値はコピーされないことに注意してください。
配列の内容を times 回 繰り返した新しい配列を作成して返します。
値はコピーされないことに注意してください。
@param times 繰り返したい回数を整数で指定します。
整数以外のオブジェクトを指定した場合は to_int メソッドによ
る暗黙の型変換を試みます。
@raise TypeError 引数に整数以外の(暗黙の型変換が行えない)オブジェクトを
指定した場合に発生します。
@raise ArgumentError 引数に負の数を指定した場合に発生します。
//emlist[例][...