るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.023秒)
トップページ > クエリ:Array[x] > クエリ:DIRECTORIES[x]

別のキーワード

  1. array fill
  2. array sample
  3. array []
  4. array fetch
  5. array count

種類

ライブラリ

モジュール

検索結果

Gem::DIRECTORIES -> Array (18202.0)

Gem のホームディレクトリ以下に作成されるサブディレクトリの配列。

Gem のホームディレクトリ以下に作成されるサブディレクトリの配列。

ruby 1.6 feature (102.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...from -:14
ruby 1.6.5 (2001-10-05) [i586-linux]

: Subclass of String and Array

String, Array のサブクラスで特定のメソッドを呼ぶと、String, Array
になっていました。

class Foo < String
end
p Foo.new("").class...
...Foo
Foo
Foo
Foo

class Bar < Array
end
bar = Bar.new
p bar.class
p bar.push(1,2,3)
p bar.class
p bar[0,0].class # => Array ???
p bar[0,1].class
p ((bar * 5).class)

=> -:9...
...((<require|組み込み関数>)) / $LOAD_PATH

Changed to use a new algorithm to locate a library.

Now when requiring "foo", the following directories are searched for
the library in the order listed.

$prefix/lib/ruby/site_ruby/$ver/foo.rb
$prefix/lib/ruby/site_ruby/$ver/foo.so...