3182件ヒット
[1-100件を表示]
(0.228秒)
種類
ライブラリ
- ビルトイン (1326)
-
cgi
/ core (36) -
cgi
/ html (96) - delegate (24)
- drb (12)
- erb (24)
- fileutils (24)
- forwardable (84)
-
irb
/ cmd / help (12) -
irb
/ context (24) -
irb
/ extend-command (12) -
irb
/ input-method (216) -
irb
/ output-method (60) - json (156)
- logger (1)
-
minitest
/ unit (3) -
net
/ http (24) -
net
/ imap (24) - objspace (12)
- openssl (108)
- pp (12)
- rake (36)
- rdoc (12)
-
rdoc
/ context (60) -
rdoc
/ stats (12) -
rdoc
/ top _ level (12) -
shell
/ command-processor (6) - singleton (12)
-
webrick
/ httprequest (12) -
webrick
/ httpresponse (12) -
webrick
/ httpservlet / abstract (12) - win32ole (528)
クラス
- Array (10)
- BasicObject (72)
- CGI (24)
-
DRb
:: DRbServer (12) - Delegator (24)
- ERB (12)
- Enumerator (14)
- Exception (12)
-
IRB
:: Context (24) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: FileInputMethod (36) -
IRB
:: InputMethod (36) -
IRB
:: OutputMethod (48) -
IRB
:: ReadlineInputMethod (72) -
IRB
:: StdioInputMethod (72) -
IRB
:: StdioOutputMethod (12) -
JSON
:: State (12) - Method (118)
-
MiniTest
:: Unit (1) -
MiniTest
:: Unit :: TestCase (1) - Module (360)
- NameError (12)
-
Net
:: HTTPGenericRequest (12) -
Net
:: IMAP (24) - NoMethodError (28)
- Object (180)
-
OpenSSL
:: Engine (108) - PP (12)
- Proc (15)
-
RDoc
:: Context (60) -
RDoc
:: Stats (12) -
RDoc
:: TopLevel (12) -
Rake
:: FileList (24) - Refinement (4)
- Regexp (36)
-
RubyVM
:: InstructionSequence (108) -
Shell
:: CommandProcessor (6) - String (60)
- Thread (12)
- TracePoint (43)
- UnboundMethod (107)
-
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (12) -
WEBrick
:: HTTPServlet :: AbstractServlet (12) - WIN32OLE (144)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ METHOD (228) -
WIN32OLE
_ PARAM (120) -
WIN32OLE
_ TYPE (24)
モジュール
-
CGI
:: HtmlExtension (96) -
CGI
:: QueryExtension (12) -
ERB
:: DefMethod (12) - FileUtils (24)
- Forwardable (36)
-
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 :: String :: Extend (12) -
JSON
:: Generator :: GeneratorMethods :: TrueClass (12) - Kernel (96)
- Marshal (24)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (12) - ObjectSpace (12)
- RDoc (12)
-
RubyVM
:: AbstractSyntaxTree (3) - SingleForwardable (48)
オブジェクト
- main (24)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) -
ARRAY
_ METHODS (12) - Application (1)
-
DELEGATING
_ METHODS (12) -
INSECURE
_ METHOD (12) - METHODS (12)
-
METHOD
_ ALL (12) -
METHOD
_ CIPHERS (12) -
METHOD
_ DH (12) -
METHOD
_ DIGESTS (12) -
METHOD
_ DSA (12) -
METHOD
_ MODIFIERS (12) -
METHOD
_ NONE (12) -
METHOD
_ RAND (12) -
METHOD
_ RSA (12) -
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 3 . 0 (10) - NoDelegateMethods (6)
- Singleton (12)
- [] (12)
-
_ _ method _ _ (12) -
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) -
absolute
_ path (12) -
add
_ response _ handler (24) -
add
_ to (12) -
alias
_ method (12) - arity (24)
-
assert
_ respond _ to (1) - backtrace (12)
-
base
_ label (12) - bind (12)
-
bind
_ call (12) -
callee
_ id (12) - caller (36)
-
collect
_ method (12) -
count
_ nodes (12) - curry (11)
-
def
_ delegator (24) -
def
_ delegators (12) -
def
_ erb _ method (12) -
def
_ instance _ delegator (12) -
def
_ instance _ delegators (12) -
def
_ method (12) -
def
_ single _ delegator (12) -
def
_ single _ delegators (12) - default (12)
-
default
_ event _ sources (12) -
define
_ method (48) -
define
_ singleton _ method (24) - dig (10)
- disasm (12)
- disassemble (12)
- dispid (12)
- dump (24)
- encode (36)
- encoding (36)
-
enum
_ for (24) - eof? (24)
- eval (12)
- event? (12)
-
event
_ interface (12) - execute (12)
- fail (12)
-
file
_ name (12) -
find
_ local _ symbol (12) -
find
_ symbol (12) -
first
_ lineno (12) - form (48)
- generate (12)
- gets (36)
- handler= (12)
- hash (24)
- header (12)
- helpcontext (12)
- helpfile (12)
- helpstring (12)
-
import
_ methods (4) -
initialize
_ methods _ etc (12) - input? (12)
- inspect (24)
-
instance
_ eval (24) -
instance
_ method (12) -
instance
_ methods (12) - invkind (12)
-
invoke
_ kind (12) - io (12)
-
irb
/ completion (12) -
irb
/ input-method (12) -
irb
/ output-method (12) -
irb
_ original _ method _ name (12) -
json
_ create (12) - label (12)
-
last
_ match (12) - line (24)
- match (24)
-
method
_ defined? (12) -
method
_ id (12) -
method
_ list (12) -
method
_ missing (36) -
method
_ undefined (12) - methods (12)
-
module
_ function (36) -
multipart
_ form (48) - name (24)
- new (129)
-
num
_ methods (12) - of (15)
-
offset
_ vtbl (12) -
ole
_ activex _ initialize (12) -
ole
_ func _ methods (12) -
ole
_ get _ methods (12) -
ole
_ method (12) -
ole
_ method _ help (12) -
ole
_ methods (24) -
ole
_ put _ methods (12) -
ole
_ show _ help (12) -
ole
_ type (12) -
ole
_ type _ detail (12) - optional? (12)
-
original
_ name (24) - out (12)
- output? (12)
- parameters (10)
- params (12)
- path (12)
- pp (12)
- ppx (12)
- print (12)
- printn (12)
- private (48)
-
private
_ call? (9) -
private
_ class _ method (24) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
private
_ methods (12) - protected (24)
-
protected
_ instance _ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (12) - public (12)
-
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)
- raise (12)
-
rake
_ extension (12) -
rb
_ define _ method (12) - rdoc (12)
-
readable
_ atfer _ eof? (36) - receiver (12)
-
request
_ method (36) -
require
_ relative (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) -
return
_ type (12) -
return
_ type _ detail (12) -
return
_ vtype (12) - retval? (12)
-
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 3 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
ruby2
_ keywords (12) - seplist (12)
- service (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 (36) -
super
_ method (22) -
test
_ methods (1) -
to
_ a (12) -
to
_ enum (24) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ s (72) -
to
_ str (12) - unbind (12)
- visible? (12)
- リテラル (12)
- 制御構造 (12)
検索結果
先頭5件
-
irb
/ input-method (44000.0) -
irb が入力を扱うためのサブライブラリです。
...irb が入力を扱うためのサブライブラリです。
ユーザが直接使用するものではありません。... -
irb
/ output-method (44000.0) -
irb が出力を扱うためのサブライブラリです。
...irb が出力を扱うためのサブライブラリです。... -
irb
/ completion (32018.0) -
irb の completion 機能を提供するライブラリです。
...irb の completion 機能を提供するライブラリです。
=== 使い方
$ irb -r irb/completion
とするか, ~/.irbrc 中に
require "irb/completion"
を入れてください.
irb実行中に require "irb/completion" してもよいです.
irb 実行中に [Tab] を押すとコ......[Tab] を押すとすべての構文要素, クラス,
メソッドの候補がでます. 候補が唯一ならば完全に補完します.
irb(main):001:0> in
in inspect instance_eval
include install_alias_method instance_of?
initialize......install_aliases instance_variables
irb(main):001:0> inspect
"main"
irb(main):002:0> foo = Object.new
#<Object:0x4027146c>
"変数名." の後に [Tab] を押すと, そのオブジェクトのメソッド一覧がでます.
irb(main):003:0> foo.
foo.==... -
Net
:: HTTPGenericRequest # method -> String (27413.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"
//}... -
Module
# protected _ method _ defined?(name , inherit=true) -> bool (24709.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
//}... -
Module
# protected _ instance _ methods(inherited _ too = true) -> [Symbol] (24700.0) -
そのモジュールで定義されている protected メソッド名 の一覧を配列で返します。
...そのモジュールで定義されている protected メソッド名
の一覧を配列で返します。
@param inherited_too false を指定するとそのモジュールで定義されているメソッドのみ返します。
@see Object#protected_methods, Module#instance_methods... -
Method
# super _ method -> Method | nil (24678.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
# define _ singleton _ method(symbol , method) -> Symbol (24651.0) -
self に特異メソッド name を定義します。
...m symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class A
class <<......self
def class_name
to_s
end
end
end
A.define_singleton_method(:who_am_i) do
"I am: #{class_name}"
end
A.who_am_i # ==> "I am: A"
guy = "Bob"
guy.define_singleton_method(:hello) { "#{self}: Hello there!" }
guy.hello #=> "Bob: Hello there!"
//}... -
Object
# define _ singleton _ method(symbol) { . . . } -> Symbol (24551.0) -
self に特異メソッド name を定義します。
...m symbol メソッド名を String または Symbol で指定します。
@param method Proc、Method あるいは UnboundMethod の
いずれかのインスタンスを指定します。
@return メソッド名を表す Symbol を返します。
//emlist[][ruby]{
class A
class <<......self
def class_name
to_s
end
end
end
A.define_singleton_method(:who_am_i) do
"I am: #{class_name}"
end
A.who_am_i # ==> "I am: A"
guy = "Bob"
guy.define_singleton_method(:hello) { "#{self}: Hello there!" }
guy.hello #=> "Bob: Hello there!"
//}...