1271件ヒット
[901-1000件を表示]
(0.053秒)
別のキーワード
ライブラリ
- ビルトイン (745)
- delegate (48)
- erb (12)
-
irb
/ output-method (36) - json (60)
-
minitest
/ spec (1) -
minitest
/ unit (1) - psych (8)
-
rdoc
/ code _ object (12) - win32ole (348)
クラス
- Array (10)
- BasicObject (72)
- Delegator (48)
- ERB (12)
- Enumerator (48)
-
Enumerator
:: Lazy (48) -
IRB
:: OutputMethod (36) -
JSON
:: State (24) - Method (92)
- Module (152)
- NameError (24)
- NoMethodError (12)
- Object (217)
- Proc (12)
-
RDoc
:: CodeObject (12) - Regexp (24)
- Thread (12)
- TracePoint (7)
- UnboundMethod (24)
- WIN32OLE (36)
-
WIN32OLE
_ METHOD (204) -
WIN32OLE
_ PARAM (84) -
WIN32OLE
_ TYPE (24)
モジュール
キーワード
- === (8)
- [] (36)
-
_ getproperty (12) -
_ invoke (12) - args (12)
-
assert
_ respond _ to (1) -
bind
_ call (12) - call (24)
-
class
_ exec (12) -
def
_ class (12) - default (12)
-
default
_ event _ sources (12) -
define
_ singleton _ method (24) - dig (10)
- dispid (12)
- each (48)
-
enum
_ for (48) - event? (12)
-
event
_ interface (12) - generate (12)
- helpcontext (12)
- input? (12)
- inspect (12)
-
instance
_ eval (24) -
instance
_ method (12) -
instance
_ methods (12) - invkind (12)
-
invoke
_ kind (12) - match (24)
- method (12)
-
method
_ missing (36) - methods (24)
-
module
_ exec (12) -
must
_ respond _ to (1) - name (36)
-
offset
_ vtbl (12) -
ole
_ methods (12) -
ole
_ type (12) -
ole
_ type _ detail (12) - optional? (12)
- parameters (43)
- params (12)
- pp (12)
- ppx (12)
-
private
_ instance _ methods (12) -
private
_ methods (12) -
protected
_ instance _ methods (12) -
protected
_ methods (24) -
psych
_ yaml _ as (4) - public (48)
-
public
_ instance _ method (12) -
public
_ instance _ methods (12) -
public
_ method (12) -
public
_ methods (24) - puts (12)
- receiver (12)
-
remove
_ methods _ etc (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) -
return
_ type (12) -
return
_ type _ detail (12) -
return
_ vtype (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
singleton
_ methods (12) -
size
_ opt _ params (12) -
size
_ params (12) -
to
_ enum (48) -
to
_ json (12) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ s (48) - visible? (12)
-
yaml
_ as (4)
検索結果
先頭5件
- TracePoint
# parameters -> [object] - Enumerator
:: Lazy # enum _ for(method = :each , *args) -> Enumerator :: Lazy - Enumerator
:: Lazy # enum _ for(method = :each , *args) {|*args| block} -> Enumerator :: Lazy - Enumerator
:: Lazy # to _ enum(method = :each , *args) -> Enumerator :: Lazy - Enumerator
:: Lazy # to _ enum(method = :each , *args) {|*args| block} -> Enumerator :: Lazy
-
TracePoint
# parameters -> [object] (124.0) -
現在のフックが属するメソッドまたはブロックのパラメータ定義を返します。 フォーマットは Method#parameters と同じです。
...現在のフックが属するメソッドまたはブロックのパラメータ定義を返します。
フォーマットは Method#parameters と同じです。
@raise RuntimeError :call、:return、:b_call、:b_return、:c_call、:c_return
イベントのためのイベン......トフックの外側で実行した場合に発生します。
//emlist[例][ruby]{
def foo(a, b = 2)
end
TracePoint.new(:call) do |tp|
p tp.parameters # => a], [:opt, :b
end.enable do
foo(1)
end
//}
@see Method#parameters, UnboundMethod#parameters, Proc#parameters... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) -> Enumerator :: Lazy (121.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
...
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (121.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
...
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) -> Enumerator :: Lazy (121.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
...
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (121.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
...
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が... -
WIN32OLE
# _ invoke(dispid , args , types) -> object | nil (120.0) -
DISPIDとパラメータの型を指定してオブジェクトのメソッドを呼び出します。
...IN32OLE::VARIANT::VT_VARIANTとなります。このような場合に、バイト
配列を与えるつもりで
include WIN32OLE::VARIANT
obj.method(DISPID, [[0, 1, 2, 3]], [VT_VARIANT])
のように記述すると、単に32ビット整数(VT_I4)の配列が送られることになり
空......ude WIN32OLE::VARIANT
obj.method(DISPID, [[0, 1, 2, 3]], [VT_BYREF | VT_ARRAY | VT_UI1])
なお、VB6で作成したCOMコンポーネントのパラメータに配列を与える場合は、
WIN32OLE::VARIANT::VT_BYREFの指定が必須です。
DISPIDはWIN32OLE_METHOD#dispidから取得でき... -
JSON
:: State # [](name) -> object (118.0) -
Return the value returned by method name.
...Return the value returned by method name.... -
Module
# class _ exec(*args) {|*vars| . . . } -> object (109.0) -
与えられたブロックを指定された args を引数としてモジュールのコンテキストで評価します。
...す引数を指定します。
//emlist[例][ruby]{
class Thing
end
c = 1
Thing.class_exec{
def hello()
"Hello there!"
end
define_method(:foo) do # ローカル変数がブロックの外側を参照している
c
end
}
t = Thing.new
p t.hello() #=> "Hello there!"... -
Module
# module _ exec(*args) {|*vars| . . . } -> object (109.0) -
与えられたブロックを指定された args を引数としてモジュールのコンテキストで評価します。
...す引数を指定します。
//emlist[例][ruby]{
class Thing
end
c = 1
Thing.class_exec{
def hello()
"Hello there!"
end
define_method(:foo) do # ローカル変数がブロックの外側を参照している
c
end
}
t = Thing.new
p t.hello() #=> "Hello there!"...