2908件ヒット
[1-100件を表示]
(0.178秒)
ライブラリ
- ビルトイン (1379)
-
cgi
/ core (33) -
cgi
/ html (88) - delegate (44)
- erb (33)
- forwardable (88)
-
irb
/ cmd / help (11) -
irb
/ context (11) -
irb
/ extend-command (11) -
irb
/ input-method (165) -
irb
/ output-method (66) - json (143)
-
minitest
/ spec (1) -
minitest
/ unit (2) -
net
/ http (22) -
net
/ imap (22) - openssl (110)
- pp (11)
- psych (8)
- rake (11)
-
rdoc
/ code _ object (11) -
rdoc
/ context (88) -
rdoc
/ stats (22) -
rdoc
/ top _ level (11) - rubygems (11)
-
webrick
/ cgi (11) -
webrick
/ httprequest (11) -
webrick
/ httpresponse (22) -
webrick
/ httpservlet / abstract (11) - win32ole (451)
クラス
- Array (9)
- BasicObject (66)
- CGI (22)
- Delegator (44)
- ERB (33)
- Enumerator (44)
-
Enumerator
:: Lazy (44) - Exception (11)
-
IRB
:: Context (11) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: FileInputMethod (22) -
IRB
:: InputMethod (33) -
IRB
:: OutputMethod (55) -
IRB
:: ReadlineInputMethod (55) -
IRB
:: StdioInputMethod (55) -
IRB
:: StdioOutputMethod (11) -
JSON
:: State (22) - Method (247)
-
MiniTest
:: Unit (1) - Module (362)
- NameError (22)
-
Net
:: HTTPGenericRequest (11) -
Net
:: IMAP (22) - NoMethodError (19)
- Object (199)
-
OpenSSL
:: Engine (11) -
OpenSSL
:: SSL :: SSLContext (88) -
OpenSSL
:: X509 :: Store (11) - PP (11)
- Proc (50)
-
RDoc
:: CodeObject (11) -
RDoc
:: Context (88) -
RDoc
:: Stats (22) -
RDoc
:: TopLevel (11) - Refinement (3)
- Regexp (22)
-
RubyVM
:: InstructionSequence (66) - String (33)
- Thread (11)
- TracePoint (28)
- UnboundMethod (163)
-
WEBrick
:: CGI (11) -
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (22) -
WEBrick
:: HTTPServlet :: AbstractServlet (11) - WIN32OLE (121)
-
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ METHOD (198) -
WIN32OLE
_ PARAM (99) -
WIN32OLE
_ TYPE (22)
モジュール
-
CGI
:: HtmlExtension (88) -
CGI
:: QueryExtension (11) - Forwardable (44)
-
Gem
:: QuickLoader (11) -
IRB
:: ExtendCommandBundle (11) -
JSON
:: Generator :: GeneratorMethods :: Array (11) -
JSON
:: Generator :: GeneratorMethods :: FalseClass (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) -
JSON
:: Generator :: GeneratorMethods :: Hash (11) -
JSON
:: Generator :: GeneratorMethods :: Integer (11) -
JSON
:: Generator :: GeneratorMethods :: NilClass (11) -
JSON
:: Generator :: GeneratorMethods :: Object (11) -
JSON
:: Generator :: GeneratorMethods :: String (33) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) -
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (11) - SingleForwardable (44)
キーワード
- << (12)
- == (22)
- === (7)
- >> (12)
- [] (33)
-
_ getproperty (11) -
_ invoke (11) -
_ setproperty (11) -
absolute
_ path (11) -
add
_ method (11) -
add
_ response _ handler (22) -
add
_ to (11) -
alias
_ method (11) - args (11)
- arity (22)
-
assert
_ respond _ to (1) - backtrace (11)
-
base
_ label (11) - bind (11)
-
bind
_ call (10) - call (22)
-
callee
_ id (11) -
class
_ exec (11) -
client
_ cert _ cb= (11) - clone (22)
- curry (20)
-
def
_ class (11) -
def
_ delegator (22) -
def
_ delegators (22) -
def
_ instance _ delegator (11) -
def
_ instance _ delegators (11) -
def
_ method (11) -
def
_ module (11) -
def
_ single _ delegator (11) -
def
_ single _ delegators (11) - default (11)
-
default
_ event _ sources (11) -
define
_ method (22) -
define
_ singleton _ method (22) - dig (9)
- dispid (11)
- each (44)
-
each
_ method (11) - encode (33)
- encoding (33)
-
enum
_ for (44) - eof? (22)
- eql? (22)
- event? (11)
-
event
_ interface (11) - execute (11)
-
file
_ name (11) -
find
_ local _ symbol (22) -
find
_ symbol (11) -
first
_ lineno (11) - form (44)
- generate (11)
- gets (44)
- handler= (11)
- hash (22)
- header (11)
- helpcontext (11)
- helpfile (11)
- helpstring (11)
-
import
_ methods (3) -
initialize
_ methods _ etc (11) - input? (11)
- inspect (22)
-
install
_ alias _ method (11) -
instance
_ eval (22) -
instance
_ method (11) -
instance
_ methods (11) - invkind (11)
-
invoke
_ kind (11) - io (11)
- label (11)
- lambda? (11)
- line (22)
- match (22)
-
method
_ added (11) -
method
_ defined? (11) -
method
_ id (11) -
method
_ list (11) -
method
_ missing (44) -
method
_ removed (11) -
method
_ undefined (11) - methods (22)
-
module
_ exec (11) -
module
_ function (19) -
multipart
_ form (44) -
must
_ respond _ to (1) - name (55)
-
num
_ methods (11) -
num
_ methods= (11) -
offset
_ vtbl (11) -
ole
_ activex _ initialize (11) -
ole
_ func _ methods (11) -
ole
_ get _ methods (11) -
ole
_ method (11) -
ole
_ method _ help (11) -
ole
_ methods (22) -
ole
_ put _ methods (11) -
ole
_ type (11) -
ole
_ type _ detail (11) - optional? (11)
-
original
_ name (22) - out (11)
- output? (11)
- owner (22)
- parameters (39)
- params (11)
- path (11)
- pp (11)
- ppx (11)
- print (22)
- printn (11)
- private (23)
-
private
_ call? (8) -
private
_ class _ method (15) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
private
_ methods (11) - protected (23)
-
protected
_ instance _ methods (11) -
protected
_ method _ defined? (11) -
protected
_ methods (22) -
psych
_ yaml _ as (4) - public (23)
-
public
_ class _ method (15) -
public
_ instance _ method (11) -
public
_ instance _ methods (11) -
public
_ method (11) -
public
_ method _ defined? (11) -
public
_ methods (22) - puke (1)
- puts (11)
-
rake
_ extension (11) -
readable
_ atfer _ eof? (33) - receiver (11)
-
remove
_ method (11) -
remove
_ methods _ etc (11) -
renegotiation
_ cb= (11) -
request
_ method (33) -
request
_ method= (11) -
respond
_ to? (11) -
respond
_ to _ missing? (11) -
return
_ type (11) -
return
_ type _ detail (11) -
return
_ vtype (11) - retval? (11)
-
ruby2
_ keywords (10) - send (22)
- seplist (11)
-
servername
_ cb= (11) - service (22)
-
session
_ get _ cb= (11) -
session
_ new _ cb= (11) -
session
_ remove _ cb= (11) -
set
_ default (11) -
set
_ visibility _ for (11) -
singleton
_ method (11) -
singleton
_ method _ added (11) -
singleton
_ method _ removed (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) -
size
_ opt _ params (11) -
size
_ params (11) -
source
_ location (33) -
super
_ method (20) -
tmp
_ dh _ callback= (11) -
to
_ a (11) -
to
_ enum (44) -
to
_ json (99) -
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) -
to
_ proc (11) -
to
_ s (55) - unbind (11)
-
undef
_ method (11) -
verify
_ callback= (22) - visible? (11)
-
yaml
_ as (4)
検索結果
先頭5件
-
Net
:: HTTPGenericRequest # method -> String (27214.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 (27208.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"
//}... -
Object
# method(name) -> Method (24449.0) -
オブジェクトのメソッド name をオブジェクト化した Method オブジェクトを返します。
...name をオブジェクト化した
Method オブジェクトを返します。
@param name メソッド名をSymbol またはStringで指定します。
@raise NameError 定義されていないメソッド名を引数として与えると発生します。
//emlist[][ruby]{
me = -365.method(:ab......s)
p me #=> #<Method: Integer#abs>
p me.call #=> 365
//}
@see Module#instance_method, Method, BasicObject#__send__, Object#send, Kernel.#eval, Object#singleton_method... -
Method
# super _ method -> Method | nil (24379.0) -
self 内で super を実行した際に実行されるメソッドを Method オブジェ クトにして返します。
...self 内で super を実行した際に実行されるメソッドを 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 = S......ub.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 (18314.0) -
self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ クトにして返します。
...self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ
クトにして返します。
@see Method#super_method... -
Method
# parameters -> [object] (18141.0) -
Method オブジェクトの引数の情報を返します。
...Method オブジェクトの引数の情報を返します。
Method オブジェクトが引数を取らなければ空の配列を返します。引数を取る場合は、配列の配列を返し、
各配列の要素は引数の種類に応じた以下のような Symbol と、仮引数の名......。
: :req
必須の引数
: :opt
デフォルト値が指定されたオプショナルな引数
: :rest
* で指定された残りすべての引数
: :keyreq
必須のキーワード引数
: :key
デフォルト値が指定されたオプショナルなキーワード引数
: :keyrest
**......emlist[例][ruby]{
m = Class.new{define_method(:m){|x, y=42, *other, k_x:, k_y: 42, **k_other, &b|}}.instance_method(:m)
m.parameters #=> x], [:opt, :y], [:rest, :other], [:keyreq, :k_x], [:key, :k_y], [:keyrest, :k_other], [:block, :b
File.method(:symlink).parameters #=> req
//}
@see Proc#paramete... -
Object
# singleton _ method(name) -> Method (15555.0) -
オブジェクトの特異メソッド name をオブジェクト化した Method オブ ジェクトを返します。
...name をオブジェクト化した Method オブ
ジェクトを返します。
@param name メソッド名をSymbol またはStringで指定します。
@raise NameError 定義されていないメソッド名を引数として与えると発生します。
//emlist[][ruby]{
class Demo
def in......e(n)
@iv = n
end
def hello()
"Hello, @iv = #{@iv}"
end
end
k = Demo.new(99)
def k.hi
"Hi, @iv = #{@iv}"
end
m = k.singleton_method(:hi) # => #<Method: #<Demo:0xf8b0c3c4 @iv=99>.hi>
m.call #=> "Hi, @iv = 99"
m = k.singleton_method(:hello) # => NameError
//}
@see Module#instance......_method, Method, BasicObject#__send__, Object#send, Kernel.#eval, Object#method... -
WIN32OLE
_ TYPE # ole _ methods -> [WIN32OLE _ METHOD] (15414.0) -
型が持つメソッドのメタデータを取得します。
...@return 型が持つメソッドのメタデータをWIN32OLE_METHODの配列として返します。
メソッドを持たない場合は空配列を返します。
tobj = WIN32OLE_TYPE.new('Microsoft Excel 14.0 Object Library', 'Worksheet')
methods = tobj.ole_methods.map {|m| m.name......}
# => ['QueryInterface', 'AddRef', 'Release',....]
@see WIN32OLE_METHOD... -
BasicObject
# singleton _ method _ undefined(name) -> object (15372.0) -
特異メソッドが Module#undef_method または undef により未定義にされた時にインタプリタから呼び出されます。
...特異メソッドが Module#undef_method または
undef により未定義にされた時にインタプリタから呼び出されます。
通常のメソッドの未定義に対するフックには
Module#method_undefined を使います。
@param name 未定義にされたメソッド名....../emlist[例][ruby]{
class Foo
def singleton_method_undefined(name)
puts "singleton method \"#{name}\" was undefined"
end
end
obj = Foo.new
def obj.foo
end
def obj.bar
end
class << obj
undef_method :foo
end
obj.instance_eval {undef bar}
#=> singleton method "foo" was undefined
# single......ton method "bar" was undefined
//}
@see Module#method_undefined,BasicObject#singleton_method_added,BasicObject#singleton_method_removed , d:spec/def#undef... -
BasicObject
# singleton _ method _ removed(name) -> object (15366.0) -
特異メソッドが Module#remove_method に より削除された時にインタプリタから呼び出されます。
...ドが Module#remove_method に
より削除された時にインタプリタから呼び出されます。
通常のメソッドの削除に対するフックには
Module#method_removedを使います。
@param name 削除されたメソッド名が Symbol で渡されます。
//emlist[例][ru......def singleton_method_removed(name)
puts "singleton method \"#{name}\" was removed"
end
end
obj = Foo.new
def obj.foo
end
class << obj
remove_method :foo
end
#=> singleton method "foo" was removed
//}
@see Module#method_removed,BasicObject#singleton_method_added,BasicObject#singleton_met......hod_undefined...