るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.024秒)
トップページ > クエリ:File[x] > クエリ:dup[x] > 種類:ライブラリ[x]

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file size
  4. file path
  5. file open

検索結果

rdoc/parser/c (13.0)

C 言語で記述されたソースコードから組み込みクラス/モジュールのドキュメン トを解析するためのサブライブラリです。

....flatten #=> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
*/
static VALUE
rb_ary_flatten(ary)
VALUE ary;
{
ary = rb_obj_dup(ary);
rb_ary_flatten_bang(ary);
return ary;
}

...

void
Init_Array()
{
...
rb_define_method(rb_cArray...
...thod(....); // in ファイル名

例:

/*
* Document-class: MyClass
*
* Encapsulate the writing and reading of the configuration
* file. ...
*/

/*
* Document-method: read_value
*
* call-seq:
* cfg.read_value(key) -> value
* cfg.read_value(key}...