5082件ヒット
[1-100件を表示]
(0.097秒)
種類
ライブラリ
- ビルトイン (1790)
-
cgi
/ core (12) -
cgi
/ html (96) - delegate (48)
- erb (48)
- fileutils (24)
- forwardable (96)
-
irb
/ cmd / help (12) -
irb
/ context (12) -
irb
/ extend-command (24) -
irb
/ input-method (144) - json (408)
- logger (1)
-
minitest
/ spec (1) -
minitest
/ unit (3) -
net
/ http (24) -
net
/ imap (24) - objspace (12)
- openssl (120)
- pp (12)
- psych (8)
- rake (36)
-
rdoc
/ any _ method (12) -
rdoc
/ context (96) -
rdoc
/ stats (24) -
rdoc
/ top _ level (12) - rubygems (12)
-
shell
/ command-processor (12) -
shell
/ error (6) - singleton (12)
-
syslog
/ logger (12) - weakref (12)
-
webrick
/ httpservlet / abstract (12) -
webrick
/ httpstatus (492) - win32ole (324)
クラス
- Array (10)
- BasicObject (72)
- CGI (12)
- Delegator (48)
- ERB (36)
- Enumerator (62)
-
Enumerator
:: Lazy (48) - Exception (12)
-
IRB
:: Context (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: FileInputMethod (12) -
IRB
:: InputMethod (36) -
IRB
:: ReadlineInputMethod (72) -
IRB
:: StdioInputMethod (12) -
JSON
:: State (24) - Method (200)
-
MiniTest
:: Unit (1) -
MiniTest
:: Unit :: TestCase (1) - Module (464)
- NameError (24)
-
Net
:: IMAP (24) - NoMethodError (40)
- Object (169)
-
OpenSSL
:: Engine (60) -
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: X509 :: Store (12) - PP (12)
- Proc (56)
-
RDoc
:: Context (96) -
RDoc
:: Stats (24) -
RDoc
:: TopLevel (12) -
Rake
:: FileList (24) - Regexp (48)
-
RubyVM
:: InstructionSequence (96) -
Shell
:: CommandProcessor (12) -
Syslog
:: Logger (12) - Thread (12)
- TracePoint (43)
- UnboundMethod (132)
-
WEBrick
:: HTTPServlet :: AbstractServlet (12) - WIN32OLE (60)
-
WIN32OLE
_ EVENT (12) -
WIN32OLE
_ METHOD (96) -
WIN32OLE
_ PARAM (120) -
WIN32OLE
_ TYPE (12)
モジュール
-
CGI
:: HtmlExtension (96) -
ERB
:: DefMethod (12) - FileUtils (24)
- Forwardable (48)
-
Gem
:: QuickLoader (12) -
IRB
:: ExtendCommandBundle (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) - Kernel (193)
- Marshal (24)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (12) - ObjectSpace (12)
-
RubyVM
:: AbstractSyntaxTree (10) - SingleForwardable (48)
-
WEBrick
:: HTTPStatus (480)
オブジェクト
- main (24)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - << (14)
- == (24)
- === (8)
- >> (14)
-
ARRAY
_ METHODS (12) - AnyMethod (12)
- Application (1)
- Array (24)
- BasicObject (12)
- CantApplyMethod (6)
-
DELEGATING
_ METHODS (12) - Extend (24)
- FalseClass (24)
- Float (24)
- HTTPMethodNotAllowed (12)
- Hash (24)
- Integer (24)
- METHODS (12)
-
METHOD
_ ALL (12) -
METHOD
_ DSA (12) -
METHOD
_ RAND (12) -
METHOD
_ RSA (12) - MetaMethod (12)
- MethodNotAllowed (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) -
NEWS for Ruby 2
. 2 . 0 (11) -
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (4) - NameError (12)
- NilClass (24)
- NoDelegateMethods (6)
- NoMethodError (12)
- Numeric (12)
- Object (24)
- Proc (12)
-
RC
_ ACCEPTED (12) -
RC
_ BAD _ GATEWAY (12) -
RC
_ BAD _ REQUEST (12) -
RC
_ CONFLICT (12) -
RC
_ CONTINUE (12) -
RC
_ CREATED (12) -
RC
_ EXPECTATION _ FAILED (12) -
RC
_ FORBIDDEN (12) -
RC
_ FOUND (12) -
RC
_ GATEWAY _ TIMEOUT (12) -
RC
_ GONE (12) -
RC
_ HTTP _ VERSION _ NOT _ SUPPORTED (12) -
RC
_ INTERNAL _ SERVER _ ERROR (12) -
RC
_ LENGTH _ REQUIRED (12) -
RC
_ METHOD _ NOT _ ALLOWED (12) -
RC
_ MOVED _ PERMANENTLY (12) -
RC
_ MULTIPLE _ CHOICES (12) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (12) -
RC
_ NOT _ ACCEPTABLE (12) -
RC
_ NOT _ FOUND (12) -
RC
_ NOT _ IMPLEMENTED (12) -
RC
_ NOT _ MODIFIED (12) -
RC
_ NO _ CONTENT (12) -
RC
_ OK (12) -
RC
_ PARTIAL _ CONTENT (12) -
RC
_ PAYMENT _ REQUIRED (12) -
RC
_ PRECONDITION _ FAILED (12) -
RC
_ PROXY _ AUTHENTICATION _ REQUIRED (12) -
RC
_ REQUEST _ ENTITY _ TOO _ LARGE (12) -
RC
_ REQUEST _ RANGE _ NOT _ SATISFIABLE (12) -
RC
_ REQUEST _ TIMEOUT (12) -
RC
_ REQUEST _ URI _ TOO _ LARGE (12) -
RC
_ RESET _ CONTENT (12) -
RC
_ SEE _ OTHER (12) -
RC
_ SERVICE _ UNAVAILABLE (12) -
RC
_ SWITCHING _ PROTOCOLS (12) -
RC
_ TEMPORARY _ REDIRECT (12) -
RC
_ UNAUTHORIZED (12) -
RC
_ UNSUPPORTED _ MEDIA _ TYPE (12) -
RC
_ USE _ PROXY (12) -
RUBY
_ METHOD _ FUNC (12) - ReadlineInputMethod (12)
- Ruby プログラムの実行 (12)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (12)
- Ruby用語集 (12)
- Singleton (12)
- String (24)
- TrueClass (24)
-
WIN32OLE
_ PARAM (12) -
WIN32OLE
_ VARIABLE (12) - WeakRef (12)
- [] (36)
-
_ _ callee _ _ (12) -
_ getproperty (12) -
_ invoke (12) -
_ setproperty (12) -
absolute
_ path (12) -
add
_ method (12) -
add
_ response _ handler (24) -
add
_ to (12) -
alias
_ method (12) - args (12)
- arity (24)
-
assert
_ respond _ to (1) - backtrace (12)
-
base
_ label (12) -
bind
_ call (12) -
bm
_ mark (12) - bmcall (12)
- call (24)
-
callee
_ id (12) - caller (36)
-
cgi
/ session (12) -
class
_ exec (12) - clone (12)
-
clone
_ method (12) -
collect
_ method (12) -
convert
_ type (12) -
count
_ nodes (12) - coverage (8)
- curry (22)
-
def
_ class (12) -
def
_ delegator (24) -
def
_ delegators (24) -
def
_ erb _ method (12) -
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 (48) -
define
_ singleton _ method (24) -
did
_ you _ mean (12) - dig (10)
- disasm (12)
- disassemble (12)
- dump (24)
- each (48)
-
each
_ method (12) - encoding (12)
-
enum
_ for (48) - eof? (12)
- eql? (24)
- eval (24)
-
event
_ interface (12) - execute (12)
- fail (36)
-
file
_ name (12) -
find
_ local _ symbol (24) -
find
_ symbol (12) - form (48)
- generate (12)
- gets (12)
- handler= (12)
- hash (24)
- header (12)
- helpstring (12)
-
initialize
_ methods _ etc (12) - input? (12)
-
ins
_ methods _ i (12) -
ins
_ methods _ priv _ i (12) -
ins
_ methods _ prot _ i (12) - inspect (6)
-
install
_ alias _ method (12) -
instance
_ eval (24) -
instance
_ method (12) -
instance
_ methods (12) - irb (12)
-
irb
/ completion (12) -
irb
_ original _ method _ name (12) -
json
_ create (12) - label (12)
- lambda (18)
- lambda? (12)
-
last
_ match (24) - line (12)
- main (12)
-
make
_ methods (12) - match (24)
-
method
_ added (18) -
method
_ arity (12) -
method
_ call (12) -
method
_ clone (12) -
method
_ defined? (12) -
method
_ eq (12) -
method
_ id (12) -
method
_ inspect (12) -
method
_ list (24) -
method
_ missing (48) -
method
_ proc (12) -
method
_ removed (12) -
method
_ unbind (12) -
method
_ undefined (12) - methods (12)
-
module
_ exec (12) -
module
_ function (24) -
multipart
_ form (48) -
must
_ respond _ to (1) - name (60)
- new (105)
-
num
_ methods (12) -
num
_ methods= (12) - of (22)
-
ole
_ activex _ initialize (12) -
ole
_ type (12) -
ole
_ type _ detail (12) - optional? (12)
-
original
_ name (24) - output? (12)
- owner (24)
- parameters (43)
- params (12)
- path (12)
- private (48)
-
private
_ call? (9) -
private
_ class _ method (24) -
private
_ instance _ methods (12) -
private
_ method _ defined? (12) -
private
_ methods (12) - proc (19)
- protected (36)
-
protected
_ instance _ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (12) -
psych
_ yaml _ as (4) - public (36)
-
public
_ class _ method (24) -
public
_ instance _ method (12) -
public
_ instance _ methods (12) -
public
_ method (12) -
public
_ method _ defined? (12) -
public
_ methods (12) - puke (1)
- raise (36)
-
rake
_ extension (12) -
rb
_ add _ method (12) -
rb
_ call (12) -
rb
_ catch (12) -
rb
_ check _ convert _ type (12) -
rb
_ class _ instance _ methods (12) -
rb
_ class _ private _ instance _ methods (12) -
rb
_ class _ protected _ instance _ methods (12) -
rb
_ convert _ type (12) -
rb
_ define _ global _ function (12) -
rb
_ define _ method (12) -
rb
_ define _ method _ id (12) -
rb
_ define _ module _ function (12) -
rb
_ define _ private _ method (12) -
rb
_ define _ protected _ method (12) -
rb
_ define _ singleton _ method (12) -
rb
_ export _ method (12) -
rb
_ get _ method _ body (12) -
rb
_ method _ boundp (12) -
rb
_ mod _ alias _ method (12) -
rb
_ mod _ define _ method (12) -
rb
_ mod _ method (12) -
rb
_ mod _ method _ defined (12) -
rb
_ mod _ private _ method (12) -
rb
_ mod _ public _ method (12) -
rb
_ mod _ remove _ method (12) -
rb
_ mod _ undef _ method (12) -
rb
_ obj _ method (12) -
rb
_ obj _ methods (12) -
rb
_ obj _ private _ methods (12) -
rb
_ obj _ protected _ methods (12) -
rb
_ obj _ singleton _ methods (12) -
rb
_ remove _ method (12) -
rb
_ scan _ args (12) -
rb
_ to _ integer (12) -
rb
_ undef _ method (12) - rdoc (12)
-
rdoc
/ any _ method (12) -
rdoc
/ parser / c (12) -
rdoc
/ parser / ruby (12) -
readable
_ atfer _ eof? (36) -
remove
_ method (24) -
renegotiation
_ cb= (12) -
require
_ relative (12) -
respond
_ to? (12) -
respond
_ to _ missing? (12) -
return
_ type _ detail (12) - retval? (12)
-
rexml
/ parsers / sax2parser (12) -
rexml
/ parsers / streamparser (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 (18) -
search
_ method (12) - send (24)
- seplist (12)
-
servername
_ cb= (12) - service (12)
-
set
_ default (12) -
set
_ method _ visibility (12) -
set
_ visibility _ for (12) -
singleton
_ method (12) -
singleton
_ method _ added (12) -
singleton
_ method _ removed (12) -
singleton
_ method _ undefined (12) -
size
_ opt _ params (12) -
size
_ params (12) -
source
_ location (36) -
test
_ methods (1) -
tmp
_ dh _ callback= (12) -
to
_ a (12) -
to
_ enum (48) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ s (42) - umcall (12)
-
umethod
_ bind (12) -
umethod
_ call (12) -
umethod
_ proc (12) -
umethod
_ unbind (12) -
undef
_ method (12) -
verify
_ callback= (24) - xmlrpc (3)
-
yaml
_ as (4) - クラス/メソッドの定義 (12)
- メソッド呼び出し(super・ブロック付き・yield) (12)
- リテラル (12)
- 制御構造 (12)
- 手続きオブジェクトの挙動の詳細 (12)
検索結果
先頭5件
-
Net
:: HTTPHeader # method -> String (21107.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 (18348.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... -
IRB
:: ExtendCommandBundle # install _ alias _ method(to , from , override = NO _ OVERRIDE) (15301.0) -
メソッドのエイリアスを定義します。ライブラリ内部で使用します。
...を定義します。ライブラリ内部で使用します。
@param to 新しいメソッド名を Symbol か文字列で指定します。
@param from 元のメソッド名を Symbol か文字列で指定します。
@param override 新しいメソッド名が定義済みであった場合に......のメソッドを
上書きするかどうかを
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
で指定します。... -
Method
# arity -> Integer (15190.0) -
メソッドが受け付ける引数の数を返します。
...{
class C
def u; end
def v(a); end
def w(*a); end
def x(a, b); end
def y(a, b, *c); end
def z(a, b, *c, &d); end
end
c = C.new
p c.method(:u).arity #=> 0
p c.method(:v).arity #=> 1
p c.method(:w).arity #=> -1
p c.method(:x).arit......y #=> 2
p c.method(:y).arity #=> -3
p c.method(:z).arity #=> -3
s = "xyz"
s.method(:size).arity #=> 0
s.method(:replace).arity #=> 1
s.method(:squeeze).arity #=> -1
s.method(:count).arity #=> -1
//}... -
Method
# parameters -> [object] (15140.0) -
Method オブジェクトの引数の情報を返します。
...Method オブジェクトの引数の情報を返します。
Method オブジェクトが引数を取らなければ空の配列を返します。引数を取る場合は、配列の配列を返し、
各配列の要素は引数の種類に応じた以下のような Symbol と、仮引数の名......t[例][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#parameters......st[例][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#parameters... -
Method
# hash -> Integer (15136.0) -
自身のハッシュ値を返します。
...自身のハッシュ値を返します。
//emlist[例][ruby]{
a = method(:==)
b = method(:eql?)
p a.eql? b # => true
p a.hash == b.hash # => true
p [a, b].uniq.size # => 1
//}... -
Method
# source _ location -> [String , Integer] | nil (15118.0) -
ソースコードのファイル名と行番号を配列で返します。
...@see Proc#source_location
//emlist[例][ruby]{
# ------- /tmp/foo.rb ---------
class Foo
def foo; end
end
# ----- end of /tmp/foo.rb ----
require '/tmp/foo'
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m.source_location # => ["/tmp/foo.rb", 2]
method(:puts).source_location # => nil
//}... -
Method
# name -> Symbol (15112.0) -
このメソッドの名前を返します。
...このメソッドの名前を返します。
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m.name # => :foo
//}... -
Method
# original _ name -> Symbol (15106.0) -
オリジナルのメソッド名を返します。
...オリジナルのメソッド名を返します。
//emlist[例][ruby]{
class C
def foo; end
alias bar foo
end
C.new.method(:bar).original_name # => :foo
//}
@see UnboundMethod#original_name...