533件ヒット
[501-533件を表示]
(0.053秒)
別のキーワード
種類
- インスタンスメソッド (374)
- モジュール関数 (159)
キーワード
- Array (11)
- Rational (6)
-
_ _ callee _ _ (11) -
_ _ method _ _ (11) -
check
_ signedness (22) -
check
_ sizeof (22) -
convertible
_ int (22) -
depend
_ rules (11) - fail (11)
-
find
_ library (22) -
find
_ type (22) -
global
_ variables (11) -
have
_ struct _ member (22) -
have
_ type (22) -
local
_ variables (11) - loop (18)
-
psych
_ y (11) - raise (11)
- system (44)
-
try
_ compile (22) -
try
_ constant (22) -
try
_ cpp (22) -
try
_ do (22) -
try
_ link (22) -
try
_ run (22) -
try
_ static _ assert (22) -
try
_ type (22) - warn (3)
- xsystem (11)
検索結果
先頭3件
-
Kernel
. # _ _ method _ _ -> Symbol | nil (113.0) -
現在のメソッド名を返します。 メソッドの外で呼ばれると nil を返します。
...メソッド名を返します。
メソッドの外で呼ばれると nil を返します。
//emlist[例][ruby]{
def foo
p __method__
end
alias :bar :foo
foo #=> :foo
bar #=> :foo
p __method__ #=> nil
//}
現在のメソッド名が alias されたメソッドの場合でも alias 元のメソ... -
Kernel
. # global _ variables -> [Symbol] (107.0) -
プログラム中で定義されているグローバル変数(`$'で始まる変数)名の 配列を返します。
...グラム中で定義されているグローバル変数(`$'で始まる変数)名の
配列を返します。
//emlist[例][ruby]{
p global_variables #=> [:$;, :$-F, :$@, ... ]
//}
@see Kernel.#local_variables,Object#instance_variables,Module.constants,Module#constants,Module#class_variables... -
Kernel
. # local _ variables -> [Symbol] (107.0) -
現在のスコープで定義されているローカル変数名の配列を返します。
...現在のスコープで定義されているローカル変数名の配列を返します。
//emlist[例][ruby]{
yuyu = 0
p local_variables #=> [:yuyu]
//}
@see Kernel.#global_variables,Object#instance_variables,Module.constants,Module#constants,Module#class_variables...