2098件ヒット
[1-100件を表示]
(0.061秒)
種類
ライブラリ
- ビルトイン (687)
-
cgi
/ core (24) -
cgi
/ html (96) -
irb
/ cmd / help (12) -
irb
/ extend-command (24) -
irb
/ input-method (72) -
irb
/ output-method (36) - json (204)
-
minitest
/ unit (1) -
net
/ http (24) - openssl (24)
- rdoc (12)
-
shell
/ command-processor (6) -
webrick
/ cgi (12) -
webrick
/ httprequest (12) -
webrick
/ httpresponse (24) -
webrick
/ httpservlet / abstract (12) -
webrick
/ httpstatus (492) - win32ole (156)
クラス
- CGI (12)
- Exception (12)
-
IRB
:: ExtendCommand :: Help (12) -
IRB
:: FileInputMethod (12) -
IRB
:: InputMethod (12) -
IRB
:: OutputMethod (24) -
IRB
:: ReadlineInputMethod (24) -
IRB
:: StdioInputMethod (24) -
IRB
:: StdioOutputMethod (12) -
JSON
:: State (12) - Method (71)
-
MiniTest
:: Unit (1) - Module (216)
- NameError (12)
-
Net
:: HTTPGenericRequest (12) - NoMethodError (25)
- Object (72)
-
OpenSSL
:: SSL :: SSLContext (12) -
OpenSSL
:: X509 :: Store (12) - Proc (12)
- Regexp (12)
-
RubyVM
:: InstructionSequence (72) -
Shell
:: CommandProcessor (6) - String (60)
- UnboundMethod (60)
-
WEBrick
:: CGI (12) -
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPResponse (24) -
WEBrick
:: HTTPServlet :: AbstractServlet (12) -
WIN32OLE
_ METHOD (96) -
WIN32OLE
_ PARAM (48)
モジュール
-
CGI
:: HtmlExtension (96) -
CGI
:: QueryExtension (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 (36)
- Marshal (12)
-
Net
:: HTTPHeader (12) - RDoc (12)
-
RubyVM
:: AbstractSyntaxTree (3) -
WEBrick
:: HTTPStatus (480)
キーワード
- Extend (24)
-
METHOD
_ MODIFIERS (12) - MethodNotAllowed (12)
-
NEWS for Ruby 2
. 0 . 0 (12) -
NEWS for Ruby 2
. 1 . 0 (12) - NoDelegateMethods (6)
- Numeric (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) - String (24)
-
WIN32OLE
_ VARIABLE (12) -
absolute
_ path (12) -
alias
_ method (12) - arity (24)
- backtrace (12)
-
base
_ label (12) - caller (36)
- curry (11)
- disasm (12)
- disassemble (12)
- dump (12)
- encode (36)
-
event
_ interface (12) - execute (12)
-
file
_ name (12) - form (48)
- generate (12)
- gets (36)
- header (12)
- helpfile (12)
- helpstring (12)
-
ins
_ methods _ priv _ i (12) - inspect (24)
-
install
_ alias _ method (12) -
instance
_ methods (12) -
invoke
_ kind (12) - irb (12)
-
irb
_ original _ method _ name (12) -
json
_ create (12) - label (12)
-
last
_ match (12) - line (24)
-
method
_ arity (12) -
method
_ defined? (12) - methods (12)
-
module
_ function (12) -
multipart
_ form (48) - name (24)
- new (16)
- of (3)
-
ole
_ type (12) -
ole
_ type _ detail (12) -
original
_ name (24) - path (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 (12)
-
protected
_ instance _ methods (12) -
protected
_ method _ defined? (12) -
protected
_ methods (12) - public (12)
-
public
_ instance _ methods (12) -
public
_ method _ defined? (12) -
public
_ methods (12) - puke (1)
-
rb
_ class _ private _ instance _ methods (12) -
rb
_ define _ private _ method (12) -
rb
_ mod _ private _ method (12) -
rb
_ obj _ private _ methods (12) - rdoc (12)
-
request
_ method (36) -
request
_ method= (12) -
respond
_ to _ missing? (12) -
return
_ type (12) -
return
_ type _ detail (12) -
ruby 1
. 9 feature (12) -
search
_ method (12) - service (24)
-
singleton
_ methods (12) -
source
_ location (36) -
to
_ json (108) -
to
_ json _ raw (12) -
to
_ json _ raw _ object (12) -
to
_ s (72) -
to
_ str (12) -
verify
_ callback= (24) -
webrick
/ cgi (12) - リテラル (12)
検索結果
先頭5件
-
Net
:: HTTPGenericRequest # method -> String (21213.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 (18207.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
# arity -> Integer (15160.0) -
メソッドが受け付ける引数の数を返します。
...new
p c.method(:u).arity #=> 0
p c.method(:v).arity #=> 1
p c.method(:w).arity #=> -1
p c.method(:x).arity #=> 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
# 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... -
IRB
:: ExtendCommandBundle . irb _ original _ method _ name(method _ name) -> String (12430.0) -
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ ラリ内部で使用します。
...
method_name で指定したメソッドの irb 中でのエイリアスを返します。ライブ
ラリ内部で使用します。
@param method_name メソッド名を Symbol か文字列で指定します。
@see IRB::ExtendCommandBundle#install_alias_method... -
Module
# private _ method _ defined?(name , inherit=true) -> bool (12409.0) -
インスタンスメソッド name がモジュールに定義されており、 しかもその可視性が private であるときに true を返します。 そうでなければ false を返します。
...ジュールに定義されており、
しかもその可視性が private であるときに true を返します。
そうでなければ false を返します。
@param name Symbol か String を指定します。
@param inherit 真を指定するとスーパークラスや include したモジ......method_defined?, Module#public_method_defined?, Module#protected_method_defined?
//emlist[例][ruby]{
module A
def method1() end
end
class B
private
def method2() end
end
class C < B
include A
def method3() end
end
A.method_defined? :method1 #=> true
C.private_method......_defined? "method1" #=> false
C.private_method_defined? "method2" #=> true
C.private_method_defined? "method2", true #=> true
C.private_method_defined? "method2", false #=> false
C.method_defined? "method2" #=> false
//}... -
Module
# private _ instance _ methods(inherited _ too = true) -> [Symbol] (12300.0) -
そのモジュールで定義されている private メソッド名 の一覧を配列で返します。
...private メソッド名
の一覧を配列で返します。
@param inherited_too false を指定するとそのモジュールで定義されているメソッドのみ返します。
@see Object#private_methods, Module#instance_methods
//emlist[例][ruby]{
module Foo
def foo; end
private d......ef bar; end
end
module Bar
include Foo
def baz; end
private def qux; end
end
Bar.private_instance_methods # => [:qux, :bar]
Bar.private_instance_methods(false) # => [:qux]
//}... -
Object
# private _ methods(include _ inherited = true) -> [Symbol] (12300.0) -
そのオブジェクトが理解できる private メソッド名の一覧を返します。
...が理解できる private メソッド名の一覧を返します。
@param include_inherited 偽となる値を指定すると自身のクラスのスーパークラスで定義されたメソッドを除きます。
@see Module#private_instance_methods,Object#methods,Object#singleton_methods... -
static VALUE method
_ arity(VALUE method) (12300.0) -