ライブラリ
- ビルトイン (184)
- delegate (36)
- fileutils (12)
- forwardable (48)
- json (384)
-
minitest
/ unit (1) - openssl (12)
- rake (24)
-
rdoc
/ code _ object (12) -
rdoc
/ context (24) -
rdoc
/ stats (24) -
shell
/ command-processor (6) -
syslog
/ logger (12) - win32ole (84)
クラス
- Delegator (36)
-
MiniTest
:: Unit :: TestCase (1) - Module (72)
- Object (84)
-
OpenSSL
:: SSL :: SSLContext (12) -
RDoc
:: CodeObject (12) -
RDoc
:: Context (24) -
RDoc
:: Stats (24) -
Rake
:: FileList (24) - Refinement (4)
-
Shell
:: CommandProcessor (6) -
Syslog
:: Logger (12) - WIN32OLE (48)
-
WIN32OLE
_ TYPE (24)
モジュール
- FileUtils (12)
- Forwardable (24)
-
JSON
:: Generator :: GeneratorMethods :: Array (12) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (12) -
JSON
:: Generator :: GeneratorMethods :: Float (12) -
JSON
:: Generator :: GeneratorMethods :: Hash (12) -
JSON
:: Generator :: GeneratorMethods :: Integer (12) -
JSON
:: Generator :: GeneratorMethods :: NilClass (12) -
JSON
:: Generator :: GeneratorMethods :: Object (12) -
JSON
:: Generator :: GeneratorMethods :: String (36) -
JSON
:: Generator :: GeneratorMethods :: String :: Extend (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - SingleForwardable (24)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
ARRAY
_ METHODS (12) - Array (24)
-
DELEGATING
_ METHODS (12) - Extend (24)
- FalseClass (24)
- Float (24)
- Hash (24)
- Integer (24)
- METHODS (24)
- Method (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 3
. 1 . 0 (4) - NilClass (24)
- NoDelegateMethods (6)
- Object (24)
- String (24)
- TrueClass (24)
- UnboundMethod (12)
-
WIN32OLE
_ METHOD (12) -
def
_ delegators (24) -
def
_ instance _ delegators (12) -
def
_ single _ delegators (12) -
default
_ event _ sources (12) -
import
_ methods (4) -
initialize
_ methods _ etc (12) -
ins
_ methods _ i (12) -
ins
_ methods _ priv _ i (12) -
ins
_ methods _ prot _ i (12) -
instance
_ methods (12) -
irb
/ completion (12) -
json
_ create (12) -
make
_ methods (12) -
num
_ methods (12) -
num
_ methods= (12) -
ole
_ func _ methods (12) -
ole
_ get _ methods (12) -
ole
_ methods (24) -
ole
_ put _ methods (12) -
private
_ instance _ methods (12) -
private
_ methods (12) -
protected
_ instance _ methods (12) -
protected
_ methods (24) -
public
_ instance _ methods (12) -
public
_ methods (24) -
rb
_ class _ instance _ methods (12) -
rb
_ class _ private _ instance _ methods (12) -
rb
_ class _ protected _ instance _ methods (12) -
rb
_ obj _ methods (12) -
rb
_ obj _ private _ methods (12) -
rb
_ obj _ protected _ methods (12) -
rb
_ obj _ singleton _ methods (12) - rdoc (12)
-
remove
_ methods _ etc (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
ruby2
_ keywords (12) - send (24)
-
set
_ visibility _ for (12) -
singleton
_ methods (12) -
test
_ methods (1) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
undef
_ method (12)
検索結果
先頭5件
-
Object
# methods(include _ inherited = true) -> [Symbol] (30397.0) -
そのオブジェクトに対して呼び出せるメソッド名の一覧を返します。 このメソッドは public メソッドおよび protected メソッドの名前を返します。
...および protected メソッドの名前を返します。
ただし特別に、引数が偽の時は Object#singleton_methods(false) と同じになっています。
@param include_inherited 引数が偽の時は Object#singleton_methods(false) と同じになります。
//emlist[例1][ruby]......nt
private; def private_parent() end
protected; def protected_parent() end
public; def public_parent() end
end
class Foo < Parent
private; def private_foo() end
protected; def protected_foo() end
public; def public_foo() end
end
obj = Foo.new
class <<obj
private......ivate_singleton() end
protected; def protected_singleton() end
public; def public_singleton() end
end
# あるオブジェクトの応答できるメソッドの一覧を得る。
p obj.methods(false)
p obj.public_methods(false)
p obj.private_methods(false)
p obj.protected_methods(f... -
Delegator
# methods -> [Symbol] (30307.0) -
そのオブジェクトに対して呼び出せるメソッド名の一覧を返します。 このメソッドは public メソッドおよび protected メソッドの名前を返します。
...そのオブジェクトに対して呼び出せるメソッド名の一覧を返します。
このメソッドは public メソッドおよび protected メソッドの名前を返します。
@see Object#methods... -
Module
# protected _ instance _ methods(inherited _ too = true) -> [Symbol] (24513.0) -
そのモジュールで定義されている protected メソッド名 の一覧を配列で返します。
...そのモジュールで定義されている protected メソッド名
の一覧を配列で返します。
@param inherited_too false を指定するとそのモジュールで定義されているメソッドのみ返します。
@see Object#protected_methods, Module#instance_methods... -
VALUE rb
_ class _ protected _ instance _ methods(int argc , VALUE *argv , VALUE mod) (24416.0) -
Module#protected_instance_methods の実体。 モジュール mod に定義されている protected メソッド名の リストを文字列の配列で返します。
...Module#protected_instance_methods の実体。
モジュール mod に定義されている protected メソッド名の
リストを文字列の配列で返します。... -
static VALUE rb
_ obj _ protected _ methods(VALUE obj) (24316.0) -
Object#protected_methods の実体です。
...Object#protected_methods の実体です。... -
MiniTest
:: Unit :: TestCase . test _ methods -> Array (24301.0) -
テストメソッドのリストを返します。
...テストメソッドのリストを返します。
MiniTest::Unit::TestCase.test_order の値が :random である場合は
返されるメソッドリストの順番はランダムです。
そうでない場合は、文字コード順にソートされます。... -
Object
# protected _ methods(include _ inherited = true) -> [Symbol] (21519.0) -
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
...解できる protected メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#protected_instance_methods,Object#methods,Object#singleton_methods... -
Delegator
# protected _ methods(all = true) -> [Symbol] (21407.0) -
そのオブジェクトが理解できる protected メソッド名の一覧を返します。
...そのオブジェクトが理解できる protected メソッド名の一覧を返します。
@param all 偽を指定すると __getobj__ のスーパークラスで定義されたメソッドを除きます。
@see Object#protected_methods... -
WIN32OLE
# ole _ func _ methods -> [WIN32OLE _ METHOD] (18560.0) -
オブジェクトのファンクション情報をWIN32OLE_METHODの配列として返し ます。
...32OLE_METHODの配列として返し
ます。
ole_func_methodsメソッドは、OLEオートメーションサーバのメソッドのうちファ
ンクション(何らかの機能的な操作)に属するものをWIN32OLE_METHODの
配列として返します。
@return WIN32OLE_METHODの......timeError オートメーションサーバの呼び出しに失敗しました。
型情報ライブラリ(TypeLib)が提供されていない場合などに発生します。
excel = WIN32OLE.new('Excel.Application')
excel.visible = true
excel.ole_func_methods.......each do |fun|
if fun.name.upcase == 'QUIT'
excel._invoke(fun.dispid, [], [])
break
end
end
@see WIN32OLE#ole_methods, WIN32OLE#ole_get_methods,
WIN32OLE#ole_put_methods... -
WIN32OLE
# ole _ methods -> [WIN32OLE _ METHOD] (18560.0) -
オブジェクトのメソッド情報をWIN32OLE_METHODの配列として返します。
...ド情報をWIN32OLE_METHODの配列として返します。
ole_methodsメソッドは、OLEオートメーションサーバが提供するすべてのメソッ
ドをWIN32OLE_METHODの配列として返します。
@return WIN32OLE_METHODの配列。
@raise WIN32OLERuntimeError オートメー......の呼び出しに失敗しました。
型情報ライブラリ(TypeLib)が提供されていない場合などに発生します。
excel = WIN32OLE.new('Excel.Application')
methods = excel.ole_methods
@see WIN32OLE#ole_func_methods, WIN32OLE#ole_put_methods...