24件ヒット
[1-24件を表示]
(0.211秒)
検索結果
-
VALUE rb
_ obj _ dup(VALUE obj) (44206.0) -
Object#dup の実体です。
...ect#dup の実体です。
Cのソースコード上でオブジェクトの複製を作成して返します。
例:
VALUE
return_copy(VALUE arg)
{
VALUE copy = rb_obj_dup(arg); // 引数で受け取ったオブジェクトを複製し、copyに代入。
return copy;... -
rdoc
/ parser / c (6006.0) -
C 言語で記述されたソースコードから組み込みクラス/モジュールのドキュメン トを解析するためのサブライブラリです。
...a.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_cA......lass
*
* Encapsulate the writing and reading of the configuration
* file. ...
*/
/*
* Document-method: read_value
*
* call-seq:
* cfg.read_value(key) -> value
* cfg.read_value(key} { |key| } -> value
*
* Return the value corresponding to +key+ fr...