種類
ライブラリ
- ビルトイン (1591)
-
cgi
/ core (33) -
cgi
/ html (88) - delegate (44)
- drb (11)
- erb (44)
- fileutils (22)
- forwardable (88)
-
irb
/ cmd / help (11) -
irb
/ context (22) -
irb
/ extend-command (11) -
irb
/ input-method (198) -
irb
/ output-method (55) - json (154)
- logger (1)
-
minitest
/ spec (1) -
minitest
/ unit (3) -
net
/ http (22) -
net
/ imap (22) - objspace (11)
- openssl (132)
- pp (11)
- psych (8)
- rake (33)
- rdoc (11)
-
rdoc
/ code _ object (11) -
rdoc
/ context (77) -
rdoc
/ stats (11) -
rdoc
/ top _ level (11) -
shell
/ command-processor (6) - singleton (11)
-
webrick
/ httprequest (11) -
webrick
/ httpresponse (11) -
webrick
/ httpservlet / abstract (11) - win32ole (484)
クラス
- Array (9)
- BasicObject (66)
- CGI (22)
-
DRb
:: DRbServer (11) - Delegator (44)
- ERB (33)
- Enumerator (58)
-
Enumerator
:: Lazy (44) - Exception (11)
-
IRB
:: Context (22) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: FileInputMethod (33) -
IRB
:: InputMethod (33) -
IRB
:: OutputMethod (44) -
IRB
:: ReadlineInputMethod (66) -
IRB
:: StdioInputMethod (66) -
IRB
:: StdioOutputMethod (11) -
JSON
:: State (22) - Method (247)
-
MiniTest
:: Unit (1) -
MiniTest
:: Unit :: TestCase (1) - Module (343)
- NameError (11)
-
Net
:: HTTPGenericRequest (11) -
Net
:: IMAP (22) - NoMethodError (36)
- Object (199)
-
OpenSSL
:: Engine (99) -
OpenSSL
:: SSL :: SSLContext (33) - PP (11)
- Proc (22)
-
RDoc
:: CodeObject (11) -
RDoc
:: Context (77) -
RDoc
:: Stats (11) -
RDoc
:: TopLevel (11) -
Rake
:: FileList (22) - Refinement (3)
- Regexp (44)
-
RubyVM
:: InstructionSequence (99) -
Shell
:: CommandProcessor (6) - String (55)
- Thread (11)
- TracePoint (39)
- UnboundMethod (163)
-
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (11) -
WEBrick
:: HTTPServlet :: AbstractServlet (11) - WIN32OLE (132)
-
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ METHOD (209) -
WIN32OLE
_ PARAM (110) -
WIN32OLE
_ TYPE (22)
モジュール
-
CGI
:: HtmlExtension (88) -
CGI
:: QueryExtension (11) -
ERB
:: DefMethod (11) - FileUtils (22)
- Forwardable (44)
-
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 :: String :: Extend (11) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (11) - Kernel (99)
- Marshal (22)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (11) - ObjectSpace (11)
- RDoc (11)
-
RubyVM
:: AbstractSyntaxTree (8) - SingleForwardable (44)
オブジェクト
- main (22)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (6)
- == (22)
- === (7)
- >> (6)
-
ARRAY
_ METHODS (11) - Application (1)
-
DELEGATING
_ METHODS (11) -
INSECURE
_ METHOD (11) - METHODS (22)
-
METHOD
_ ALL (11) -
METHOD
_ CIPHERS (11) -
METHOD
_ DH (11) -
METHOD
_ DIGESTS (11) -
METHOD
_ DSA (11) -
METHOD
_ MODIFIERS (11) -
METHOD
_ NONE (11) -
METHOD
_ RAND (11) -
METHOD
_ RSA (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 3
. 1 . 0 (3) - NoDelegateMethods (6)
- Singleton (11)
- [] (33)
-
_ _ method _ _ (11) -
_ 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) - caller (33)
-
class
_ exec (11) - clone (22)
-
collect
_ method (11) -
count
_ nodes (11) - curry (20)
-
def
_ class (11) -
def
_ delegator (22) -
def
_ delegators (22) -
def
_ erb _ method (11) -
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 (44) -
define
_ singleton _ method (22) - dig (9)
- disasm (11)
- disassemble (11)
- dispid (11)
- dump (22)
- each (44)
-
each
_ method (11) - encode (33)
- encoding (33)
-
enum
_ for (44) - eof? (22)
- eql? (22)
- eval (22)
- event? (11)
-
event
_ interface (11) - execute (11)
- fail (11)
-
file
_ name (11) -
find
_ local _ symbol (11) -
find
_ symbol (11) -
first
_ lineno (11) - form (44)
- generate (11)
- gets (33)
- handler= (11)
- hash (22)
- header (11)
- helpcontext (11)
- helpfile (11)
- helpstring (11)
-
import
_ methods (3) -
initialize
_ methods _ etc (11) - input? (11)
- inspect (22)
-
instance
_ eval (22) -
instance
_ method (11) -
instance
_ methods (11) - invkind (11)
-
invoke
_ kind (11) - io (11)
-
irb
/ completion (11) -
irb
/ input-method (11) -
irb
/ output-method (11) -
irb
_ original _ method _ name (11) -
json
_ create (11) - label (11)
-
last
_ match (22) - line (22)
- match (22)
-
method
_ added (11) -
method
_ defined? (11) -
method
_ id (11) -
method
_ list (11) -
method
_ missing (33) -
method
_ removed (11) -
method
_ undefined (11) - methods (22)
-
module
_ exec (11) -
module
_ function (19) -
multipart
_ form (44) -
must
_ respond _ to (1) - name (44)
- new (141)
-
num
_ methods (11) - of (19)
-
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
_ show _ help (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 (11)
- 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 (4)
-
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)
- raise (11)
-
rake
_ extension (11) -
rb
_ define _ method (11) - rdoc (11)
-
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
readable
_ atfer _ eof? (33) - receiver (11)
-
remove
_ method (11) -
remove
_ methods _ etc (11) -
request
_ method (33) -
require
_ relative (11) -
respond
_ to? (11) -
respond
_ to _ missing? (11) -
return
_ type (11) -
return
_ type _ detail (11) -
return
_ vtype (11) - retval? (11)
-
rexml
/ parsers / streamparser (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
ruby2
_ keywords (5) - send (22)
- seplist (11)
- service (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) -
test
_ methods (1) -
to
_ a (11) -
to
_ enum (44) -
to
_ json (99) -
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) -
to
_ proc (11) -
to
_ s (66) -
to
_ str (11) - unbind (11)
-
undef
_ method (11) - visible? (11)
-
yaml
_ as (4) - リテラル (11)
- 制御構造 (11)
検索結果
先頭5件
-
Method
# super _ method -> Method | nil (24578.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 meth......od"
m.super_method # => #<Method: Super#foo>
m.super_method.call # => "superclass method"
//}... -
Object
# method(name) -> Method (24554.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 (24313.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 (24307.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"
//}... -
UnboundMethod
# super _ method -> UnboundMethod | nil (18513.0) -
self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ クトにして返します。
...self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ
クトにして返します。
@see Method#super_method... -
Module
# protected _ method _ defined?(name , inherit=true) -> bool (18509.0) -
インスタンスメソッド name がモジュールに定義されており、 しかもその可視性が protected であるときに true を返します。 そうでなければ false を返します。
...ュールに定義されており、
しかもその可視性が protected であるときに true を返します。
そうでなければ false を返します。
@param name Symbol か String を指定します。
@param inherit 真を指定するとスーパークラスや include したモジ......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_met......hod_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
//}... -
ERB
:: DefMethod . # def _ erb _ method(methodname , erb) -> nil (18507.0) -
self に erb のスクリプトをメソッドとして定義します。
...をメソッドとして定義します。
メソッド名は methodname で指定します。
erb が文字列の時、そのファイルを読み込み ERB で変換したのち、メソッドとして定義します。
@param methodname メソッド名
@param erb ERBインスタンスもしく......はERBソースファイル名
例:
require 'erb'
class Writer
extend ERB::DefMethod
def_erb_method('to_html', 'writer.erb')
...
end
...
puts writer.to_html... -
Module
# protected _ instance _ methods(inherited _ too = true) -> [Symbol] (18500.0) -
そのモジュールで定義されている protected メソッド名 の一覧を配列で返します。
...そのモジュールで定義されている protected メソッド名
の一覧を配列で返します。
@param inherited_too false を指定するとそのモジュールで定義されているメソッドのみ返します。
@see Object#protected_methods, Module#instance_methods... -
Module
# protected _ method _ defined?(name) -> bool (18485.0) -
インスタンスメソッド name がモジュールに定義されており、 しかもその可視性が protected であるときに true を返します。 そうでなければ false を返します。
...が protected であるときに true を返します。
そうでなければ false を返します。
@param name Symbol か String を指定します。
@see Module#method_defined?, Module#public_method_defined?, Module#private_method_defined?
//emlist[例][ruby]{
module A
def method1() end......otected
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.method_defined? "method2" #=> t... -
MiniTest
:: Unit :: TestCase . test _ methods -> Array (18300.0) -
テストメソッドのリストを返します。
...テストメソッドのリストを返します。
MiniTest::Unit::TestCase.test_order の値が :random である場合は
返されるメソッドリストの順番はランダムです。
そうでない場合は、文字コード順にソートされます。... -
irb
/ input-method (18000.0) -
irb が入力を扱うためのサブライブラリです。
irb が入力を扱うためのサブライブラリです。
ユーザが直接使用するものではありません。 -
irb
/ output-method (18000.0) -
irb が出力を扱うためのサブライブラリです。
irb が出力を扱うためのサブライブラリです。