2773件ヒット
[1-100件を表示]
(0.065秒)
ライブラリ
- ビルトイン (1406)
-
cgi
/ core (24) -
cgi
/ html (48) - delegate (48)
- erb (36)
- forwardable (96)
-
irb
/ cmd / help (12) -
irb
/ context (12) -
irb
/ extend-command (12) -
irb
/ input-method (180) -
irb
/ output-method (72) - json (132)
-
minitest
/ spec (1) -
minitest
/ unit (2) -
net
/ http (24) -
net
/ imap (24) - openssl (24)
- pp (12)
- psych (8)
- rake (12)
-
rdoc
/ code _ object (12) -
rdoc
/ context (96) -
rdoc
/ stats (24) -
rdoc
/ top _ level (12) - rubygems (12)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (24) - win32ole (396)
クラス
- Array (10)
- BasicObject (72)
- CGI (12)
- Delegator (48)
- ERB (36)
-
Enumerator
:: Lazy (48) -
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: FileInputMethod (24) -
IRB
:: InputMethod (36) -
IRB
:: OutputMethod (60) -
IRB
:: ReadlineInputMethod (60) -
IRB
:: StdioInputMethod (60) -
IRB
:: StdioOutputMethod (12) - Method (271)
-
MiniTest
:: Unit (1) - Module (500)
-
Net
:: HTTPGenericRequest (12) -
Net
:: IMAP (24) - NoMethodError (21)
- Object (217)
-
OpenSSL
:: Engine (12) -
OpenSSL
:: SSL :: SSLContext (12) - PP (12)
- Proc (21)
-
RDoc
:: CodeObject (12) -
RDoc
:: Context (96) -
RDoc
:: Stats (24) -
RDoc
:: TopLevel (12) - Refinement (4)
- Regexp (12)
- String (36)
- Thread (12)
- TracePoint (24)
- UnboundMethod (179)
-
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (24) - WIN32OLE (120)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ METHOD (216) -
WIN32OLE
_ PARAM (24) -
WIN32OLE
_ TYPE (24)
モジュール
-
CGI
:: HtmlExtension (48) -
CGI
:: QueryExtension (12) - Forwardable (48)
-
Gem
:: QuickLoader (12) -
IRB
:: ExtendCommandBundle (12) -
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 :: TrueClass (12) -
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (12) - SingleForwardable (48)
キーワード
- << (7)
- == (24)
- === (8)
- >> (7)
- [] (24)
-
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) -
add
_ method (12) -
add
_ response _ handler (24) -
add
_ to (12) -
alias
_ method (12) - args (12)
- arity (24)
-
assert
_ respond _ to (1) - bind (12)
-
bind
_ call (12) - call (24)
-
callee
_ id (12) -
class
_ exec (12) - clone (24)
- curry (22)
-
def
_ class (12) -
def
_ delegator (24) -
def
_ delegators (24) -
def
_ instance _ delegator (12) -
def
_ instance _ delegators (12) -
def
_ method (12) -
def
_ module (12) -
def
_ single _ delegator (12) -
def
_ single _ delegators (12) - default (12)
-
default
_ event _ sources (12) -
define
_ method (24) -
define
_ singleton _ method (24) - dig (10)
- dispid (12)
-
each
_ method (12) - encode (36)
- encoding (36)
-
enum
_ for (48) - eof? (24)
- eql? (24)
- event? (12)
-
event
_ interface (12) - execute (12)
-
file
_ name (12) -
find
_ local _ symbol (24) -
find
_ symbol (12) - form (24)
- gets (48)
- handler= (12)
- hash (24)
- header (12)
- helpcontext (12)
- helpfile (12)
- helpstring (12)
-
import
_ methods (4) -
initialize
_ methods _ etc (12) - inspect (24)
-
install
_ alias _ method (12) -
instance
_ eval (24) -
instance
_ method (12) -
instance
_ methods (12) - invkind (12)
-
invoke
_ kind (12) - io (12)
- lambda? (12)
- line (24)
- match (12)
-
method
_ added (12) -
method
_ defined? (12) -
method
_ id (12) -
method
_ list (12) -
method
_ missing (48) -
method
_ removed (12) -
method
_ undefined (12) - methods (24)
-
module
_ exec (12) -
module
_ function (36) -
multipart
_ form (24) -
must
_ respond _ to (1) - name (36)
-
num
_ methods (12) -
num
_ methods= (12) -
offset
_ vtbl (12) -
ole
_ func _ methods (12) -
ole
_ get _ methods (12) -
ole
_ method (12) -
ole
_ method _ help (12) -
ole
_ methods (24) -
ole
_ put _ methods (12) -
ole
_ type _ detail (12) -
original
_ name (24) - owner (24)
- parameters (27)
- params (12)
- pp (12)
- ppx (12)
- print (24)
- printn (12)
- private (48)
-
private
_ call? (9) -
private
_ class _ method (24) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
private
_ methods (12) - protected (48)
-
protected
_ instance _ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (24) -
psych
_ yaml _ as (4) - public (48)
-
public
_ class _ method (24) -
public
_ instance _ method (12) -
public
_ instance _ methods (12) -
public
_ method (12) -
public
_ method _ defined? (12) -
public
_ methods (24) - puke (1)
- puts (12)
-
rake
_ extension (12) -
readable
_ atfer _ eof? (36) - receiver (12)
-
remove
_ method (12) -
remove
_ methods _ etc (12) -
request
_ method (36) -
request
_ method= (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) -
return
_ type (12) -
return
_ type _ detail (12) -
return
_ vtype (12) -
ruby2
_ keywords (18) - send (24)
- seplist (12)
-
set
_ default (12) -
set
_ visibility _ for (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) -
source
_ location (24) -
super
_ method (22) -
tmp
_ dh _ callback= (12) -
to
_ enum (48) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ proc (12) -
to
_ s (36) - unbind (12)
-
undef
_ method (12) - visible? (12)
-
yaml
_ as (4)
検索結果
先頭5件
-
Object
# method(name) -> Method (24349.0) -
オブジェクトのメソッド name をオブジェクト化した Method オブジェクトを返します。
...した
Method オブジェクトを返します。
@param name メソッド名をSymbol またはStringで指定します。
@raise NameError 定義されていないメソッド名を引数として与えると発生します。
//emlist[][ruby]{
me = -365.method(:abs)
p me #=> #<Method: Integer#......abs>
p me.call #=> 365
//}
@see Module#instance_method, Method, BasicObject#__send__, Object#send, Kernel.#eval, Object#singleton_method... -
Net
:: HTTPGenericRequest # method -> String (24214.0) -
リクエストの HTTP メソッドを文字列で返します。
...リクエストの HTTP メソッドを文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Post.new(uri.request_uri)
req.method # => "POST"
req = Net::HTTP::Get.new(uri.request_uri)
req.method # => "GET"
//}... -
Net
:: HTTPHeader # method -> String (24208.0) -
リクエストの HTTP メソッドを文字列で返します。
...リクエストの HTTP メソッドを文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.method # => "GET"
//}... -
Method
# super _ method -> Method | nil (21479.0) -
self 内で super を実行した際に実行されるメソッドを Method オブジェ クトにして返します。
...るメソッドを Method オブジェ
クトにして返します。
@see UnboundMethod#super_method
//emlist[例][ruby]{
class Super
def foo
"superclass method"
end
end
class Sub < Super
def foo
"subclass method"
end
end
m = Sub.new.method(:foo) # => #<Method: Sub#foo>
m.call #......=> "subclass method"
m.super_method # => #<Method: Super#foo>
m.super_method.call # => "superclass method"
//}... -
UnboundMethod
# super _ method -> UnboundMethod | nil (15414.0) -
self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ クトにして返します。
...self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ
クトにして返します。
@see Method#super_method... -
Module
# protected _ method _ defined?(name , inherit=true) -> bool (15410.0) -
インスタンスメソッド name がモジュールに定義されており、 しかもその可視性が protected であるときに true を返します。 そうでなければ false を返します。
...り、
しかもその可視性が protected であるときに true を返します。
そうでなければ false を返します。
@param name Symbol か String を指定します。
@param inherit 真を指定するとスーパークラスや include したモジュールで
定義さ......ます。
@see Module#method_defined?, Module#public_method_defined?, Module#private_method_defined?
//emlist[例][ruby]{
module A
def method1() end
end
class B
protected
def method2() end
end
class C < B
include A
def method3() end
end
A.method_defined? :method1 #......=> true
C.protected_method_defined? "method1" #=> false
C.protected_method_defined? "method2" #=> true
C.protected_method_defined? "method2", true #=> true
C.protected_method_defined? "method2", false #=> false
C.method_defined? "method2" #=> true
//}... -
Method
# unbind -> UnboundMethod (15331.0) -
self のレシーバとの関連を取り除いた UnboundMethod オブ ジェクトを生成して返します。
...除いた UnboundMethod オブ
ジェクトを生成して返します。
//emlist[例][ruby]{
class Foo
def foo
"foo"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
unbound_method = m.unbind # => #<UnboundMethod: Foo#foo>
unbound_method.bind(Foo.new) # => #<Method: Foo#foo>
//}... -
WIN32OLE
# ole _ method(method) -> WIN32OLE _ METHOD (12447.0) -
メソッド名を指定して対応するWIN32OLE_METHODオブジェクトを取得しま す。
...OLE_METHODオブジェクトを取得しま
す。
OLEオートメーションの仕様により、メソッド名の大文字、小文字は区別されま
せん。
@param method メソッド情報を取り出す対象のメソッド名を文字列で指定します。
@return WIN32OLE_METHODオ......meError 指定したメソッド名が未定義あるいは型情報ラ
イブラリ(TypeLib)が提供されていない場合など
に発生します。
excel = WIN32OLE.new('Excel.Application')
method = excel.ole_method_help('Quit')... -
WIN32OLE
# ole _ method _ help(method) -> WIN32OLE _ METHOD (12447.0) -
メソッド名を指定して対応するWIN32OLE_METHODオブジェクトを取得しま す。
...OLE_METHODオブジェクトを取得しま
す。
OLEオートメーションの仕様により、メソッド名の大文字、小文字は区別されま
せん。
@param method メソッド情報を取り出す対象のメソッド名を文字列で指定します。
@return WIN32OLE_METHODオ......meError 指定したメソッド名が未定義あるいは型情報ラ
イブラリ(TypeLib)が提供されていない場合など
に発生します。
excel = WIN32OLE.new('Excel.Application')
method = excel.ole_method_help('Quit')...