種類
ライブラリ
- ビルトイン (464)
- benchmark (11)
- drb (22)
-
drb
/ timeridconv (22) - fiddle (77)
-
net
/ imap (11) - openssl (11)
-
rinda
/ tuplespace (22) - tempfile (33)
-
test
/ unit (1) - weakref (44)
-
win32
/ registry (121) - win32ole (22)
クラス
- Array (19)
-
DRb
:: DRbServer (11) -
DRb
:: TimerIdConv (11) -
Fiddle
:: Handle (33) -
Fiddle
:: Pointer (44) - IO (55)
- Integer (22)
-
ObjectSpace
:: WeakMap (11) -
OpenSSL
:: BN (11) -
Rinda
:: TupleSpace (11) - String (11)
- Tempfile (33)
- WIN32OLE (22)
- WeakRef (22)
モジュール
- Benchmark (11)
- GC (159)
-
GC
:: Profiler (88) - ObjectSpace (44)
-
Test
:: Unit (1) -
Win32
:: Registry :: API (121)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - ARGV (11)
- DRbIdConv (11)
- FlagCountError (11)
-
INTERNAL
_ CONSTANTS (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 1 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - OPTS (11)
- Profiler (11)
- RefError (11)
- RegCloseKey (11)
- RegCreateKeyExA (11)
- RegDeleteKey (11)
- RegDeleteValue (11)
- RegEnumKeyExA (11)
- RegEnumValueA (11)
- RegFlushKey (11)
- RegOpenKeyExA (11)
- RegQueryInfoKey (11)
- RegQueryValueExA (11)
- RegSetValueExA (11)
- Ruby用語集 (11)
- STR2CSTR (11)
- StringValue (11)
- StringValuePtr (11)
- Symbol (11)
- Thread (11)
- TimerIdConv (11)
- TupleEntry (11)
- WeakMap (11)
- WeakRef (11)
- [] (11)
-
_ _ getobj _ _ (11) -
auto
_ compact (3) -
auto
_ compact= (3) - autoclose= (11)
- bmbm (11)
-
call
_ cfunc (11) - clear (11)
- close (11)
-
close
_ enabled? (11) - compact (5)
- count (11)
- create (22)
-
default
_ argc _ limit (11) -
define
_ final (11) -
define
_ finalizer (22) - disable (22)
-
disable
_ close (11) -
drb
/ timeridconv (11) - enable (22)
-
enable
_ close (11) - enabled? (11)
-
for
_ fd (11) - free (11)
- free= (11)
-
garbage
_ collect (22) -
gc
_ mark _ all (11) -
gc
_ mark _ rest (11) -
gc
_ sweep (11) - gcd (22)
- gcdlcm (11)
-
latest
_ gc _ info (22) - malloc (11)
-
method
_ call (11) -
net
/ smtp (11) - new (33)
-
ole
_ free (11) - open (22)
-
os
_ each _ obj (11) - pack (19)
- pack テンプレート文字列 (11)
-
proc
_ s _ new (11) -
raw
_ data (11) -
rb
_ ary _ aref (11) -
rb
_ call (11) -
rb
_ call0 (11) -
rb
_ call _ super (11) -
rb
_ class _ initialize (11) -
rb
_ class _ instance _ methods (11) -
rb
_ class _ new _ instance (11) -
rb
_ class _ private _ instance _ methods (11) -
rb
_ class _ protected _ instance _ methods (11) -
rb
_ class _ s _ new (11) -
rb
_ cont _ call (11) -
rb
_ define _ global _ function (11) -
rb
_ define _ method (11) -
rb
_ define _ method _ id (11) -
rb
_ define _ module _ function (11) -
rb
_ define _ private _ method (11) -
rb
_ define _ protected _ method (11) -
rb
_ define _ singleton _ method (11) -
rb
_ exec _ arg _ init (1) -
rb
_ f _ abort (11) -
rb
_ f _ caller (11) -
rb
_ f _ eval (11) -
rb
_ f _ exit (11) -
rb
_ f _ load (11) -
rb
_ f _ missing (11) -
rb
_ f _ raise (11) -
rb
_ f _ send (11) -
rb
_ f _ throw (11) -
rb
_ f _ trace _ var (11) -
rb
_ f _ untrace _ var (11) -
rb
_ funcall3 (11) -
rb
_ gc (11) -
rb
_ gc _ call _ finalizer _ at _ exit (11) -
rb
_ gc _ disable (11) -
rb
_ gc _ enable (11) -
rb
_ gc _ force _ recycle (11) -
rb
_ gc _ mark (11) -
rb
_ gc _ mark _ children (11) -
rb
_ gc _ mark _ frame (11) -
rb
_ gc _ mark _ global _ tbl (11) -
rb
_ gc _ mark _ locations (11) -
rb
_ gc _ mark _ maybe (11) -
rb
_ gc _ mark _ threads (11) -
rb
_ gc _ register _ address (11) -
rb
_ gc _ start (11) -
rb
_ gc _ unregister _ address (11) -
rb
_ global _ variable (11) -
rb
_ mod _ attr (11) -
rb
_ mod _ attr _ accessor (11) -
rb
_ mod _ attr _ reader (11) -
rb
_ mod _ attr _ writer (11) -
rb
_ mod _ define _ method (11) -
rb
_ mod _ include (11) -
rb
_ mod _ modfunc (11) -
rb
_ mod _ module _ eval (11) -
rb
_ mod _ private (11) -
rb
_ mod _ private _ method (11) -
rb
_ mod _ protected (11) -
rb
_ mod _ public (11) -
rb
_ mod _ public _ method (11) -
rb
_ obj _ call _ init (11) -
rb
_ obj _ extend (11) -
rb
_ obj _ instance _ eval (11) -
rb
_ obj _ respond _ to (11) -
rb
_ obj _ singleton _ methods (11) -
rb
_ proc _ exec _ n (1) -
rb
_ scan _ args (11) -
rb
_ thread _ join _ m (11) -
rb
_ thread _ raise (11) -
rb
_ thread _ raise _ m (11) -
rb
_ thread _ s _ new (11) -
rb
_ undefined (11) - report (11)
- result (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
ruby
_ xcalloc (11) -
ruby
_ xmalloc (11) -
ruby
_ xrealloc (11) -
set
_ method _ visibility (11) -
setup
_ argv (1) -
specific
_ eval (11) - start (11)
- stat (22)
- stress (11)
- stress= (11)
-
test
/ unit (1) -
top
_ include (11) -
top
_ private (11) -
top
_ public (11) -
total
_ time (11) -
umethod
_ call (11) -
undefine
_ finalizer (11) - unpack (11)
-
verify
_ compaction _ references (5) -
weakref
_ alive? (11) - write (11)
- スレッド (11)
- リテラル (10)
- 環境変数 (11)
検索結果
先頭5件
- static VALUE rb
_ thread _ s _ new(int argc , VALUE *argv , VALUE klass) - static VALUE rb
_ undefined(VALUE obj , ID id , int argc , VALUE *argv , int call _ status) - static VALUE specific
_ eval(int argc , VALUE *argv , VALUE klass , VALUE self) - static VALUE top
_ include(int argc , VALUE *argv) - static VALUE top
_ private(int argc , VALUE *argv)
-
static VALUE rb
_ thread _ s _ new(int argc , VALUE *argv , VALUE klass) (100.0) -
-
static VALUE rb
_ undefined(VALUE obj , ID id , int argc , VALUE *argv , int call _ status) (100.0) -
-
static VALUE specific
_ eval(int argc , VALUE *argv , VALUE klass , VALUE self) (100.0) -
rb_obj_instance_eval と rb_mod_module_eval を共通化するための補助関数です。
rb_obj_instance_eval と rb_mod_module_eval を共通化するための補助関数です。 -
static VALUE top
_ include(int argc , VALUE *argv) (100.0) -
-
static VALUE top
_ private(int argc , VALUE *argv) (100.0) -
-
static VALUE top
_ public(int argc , VALUE *argv) (100.0) -
-
static VALUE umethod
_ call(int argc , VALUE *argv , VALUE method) (100.0) -
-
static void set
_ method _ visibility(VALUE self , int argc , VALUE *argv , ID ex) (100.0) -
-
void rb
_ define _ global _ function(const char *name , VALUE (*func)() , int argc) (100.0) -
関数 name を定義します。 func と argc は rb_define_method と同じです。
...関数 name を定義します。
func と argc は rb_define_method と同じです。
例:
static VALUE
return_obj_dup(VALUE obj)
{
VALUE dup = rb_obj_dup(obj); // オブジェクトを複製
return dup;
}
void Init_func() {
rb_define_global_function(... -
void rb
_ define _ method(VALUE klass , const char *name , VALUE(*func)() , int argc) (100.0) -
クラスklassのインスタンスメソッドnameを定義します。
...argcはCの関数へ渡される引数の数(と形式)を決めます.
: argcが0以上の時
argcで指定した値がそのメソッドの引数の数になります。
16個以上の引数は使えません,
VALUE func(VALUE self, VALUE arg1, ... VALUE argN)
: argcが-1......配列として第二引数に入れて渡されます。
第一引数は配列の要素数です。
VALUE func(int argc, VALUE *argv, VALUE self)
: argcが-2のとき
引数はRubyの配列に入れて渡されます。
VALUE func(VALUE self, VALUE args)
rb_scan_args も...