1600件ヒット
[1-100件を表示]
(0.106秒)
ライブラリ
- ビルトイン (929)
-
cgi
/ core (22) -
cgi
/ html (88) - delegate (22)
- erb (22)
-
irb
/ cmd / help (11) -
irb
/ context (11) -
irb
/ extend-command (11) -
irb
/ input-method (165) -
irb
/ output-method (66) - json (22)
-
minitest
/ spec (1) -
minitest
/ unit (2) -
net
/ http (11) - openssl (11)
- psych (8)
- rake (11)
-
rdoc
/ stats (22) -
rdoc
/ top _ level (11) - rubygems (11)
-
webrick
/ httprequest (11) -
webrick
/ httpresponse (22) -
webrick
/ httpservlet / abstract (11) - win32ole (99)
クラス
- BasicObject (11)
- CGI (11)
- Delegator (22)
- ERB (22)
- Enumerator (44)
-
Enumerator
:: Lazy (44) -
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) - Method (74)
-
MiniTest
:: Unit (1) - Module (362)
-
Net
:: HTTPGenericRequest (11) - Object (133)
-
OpenSSL
:: Engine (11) - Proc (16)
-
RDoc
:: Stats (22) -
RDoc
:: TopLevel (11) - Refinement (3)
-
RubyVM
:: InstructionSequence (66) - String (33)
- UnboundMethod (163)
-
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (22) -
WEBrick
:: HTTPServlet :: AbstractServlet (11) - WIN32OLE (22)
-
WIN32OLE
_ METHOD (33) -
WIN32OLE
_ PARAM (33) -
WIN32OLE
_ TYPE (11)
モジュール
キーワード
- == (11)
-
absolute
_ path (11) -
alias
_ method (11) - arity (22)
-
assert
_ respond _ to (1) -
base
_ label (11) - bind (11)
-
bind
_ call (10) -
class
_ exec (11) - clone (11)
- curry (20)
-
def
_ class (11) -
def
_ module (11) - default (11)
-
default
_ event _ sources (11) -
define
_ method (22) - each (44)
- encode (33)
- encoding (33)
-
enum
_ for (44) - eof? (22)
- eql? (11)
- execute (11)
-
file
_ name (11) -
find
_ local _ symbol (11) -
first
_ lineno (11) - form (44)
- gets (44)
- hash (11)
-
import
_ methods (3) - input? (11)
- inspect (11)
-
install
_ alias _ method (11) -
instance
_ method (11) -
instance
_ methods (11) - io (11)
- label (11)
- line (22)
-
method
_ added (11) -
method
_ defined? (11) -
method
_ missing (11) -
method
_ removed (11) -
method
_ undefined (11) - methods (11)
-
module
_ exec (11) -
module
_ function (19) -
multipart
_ form (44) -
must
_ respond _ to (1) - name (11)
-
num
_ methods (11) -
num
_ methods= (11) -
ole
_ func _ methods (11) -
ole
_ put _ methods (11) -
original
_ name (11) - out (11)
- output? (11)
- owner (22)
- parameters (11)
- path (11)
- pp (11)
- ppx (11)
- print (22)
- printn (11)
- private (23)
-
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) -
remove
_ method (11) -
request
_ method (33) -
request
_ method= (11) -
respond
_ to? (11) -
respond
_ to _ missing? (11) -
return
_ type (11) -
return
_ type _ detail (11) -
return
_ vtype (11) -
ruby2
_ keywords (10) - service (11)
-
set
_ default (11) -
singleton
_ method _ undefined (11) -
singleton
_ methods (11) -
source
_ location (33) -
super
_ method (20) -
to
_ a (11) -
to
_ enum (44) -
to
_ json (22) -
to
_ s (11) - unbind (11)
-
undef
_ method (11) -
yaml
_ as (4)
検索結果
先頭5件
-
Method
# super _ method -> Method | nil (21379.0) -
self 内で super を実行した際に実行されるメソッドを Method オブジェ クトにして返します。
...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 = Sub.new.method......(:foo) # => #<Method: Sub#foo>
m.call # => "subclass method"
m.super_method # => #<Method: Super#foo>
m.super_method.call # => "superclass method"
//}... -
Net
:: HTTPGenericRequest # method -> String (21114.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"
//}... -
UnboundMethod
# super _ method -> UnboundMethod | nil (18314.0) -
self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ クトにして返します。
...self 内で super を実行した際に実行されるメソッドを UnboundMethod オブジェ
クトにして返します。
@see Method#super_method... -
Method
# unbind -> UnboundMethod (15431.0) -
self のレシーバとの関連を取り除いた UnboundMethod オブ ジェクトを生成して返します。
...り除いた UnboundMethod オブ
ジェクトを生成して返します。
//emlist[例][ruby]{
class Foo
def foo
"foo"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
unbound_method = m.unbind # => #<UnboundMethod: Foo#foo>
unbound_method.bind(Foo.new) # => #<Method: Foo#foo>
/... -
CGI
:: QueryExtension # request _ method -> String (15218.0) -
ENV['REQUEST_METHOD'] を返します。
...ENV['REQUEST_METHOD'] を返します。... -
WEBrick
:: HTTPRequest # request _ method -> String (15202.0) -
クライアントのリクエストの HTTP メソッド(GET, POST,...)を文字列で返します。
クライアントのリクエストの HTTP メソッド(GET, POST,...)を文字列で返します。 -
Method
# source _ location -> [String , Integer] | nil (15119.0) -
ソースコードのファイル名と行番号を配列で返します。
...トが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
@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
# curry -> Proc (15113.0) -
self を元にカリー化した Proc を返します。
...要があります。
//emlist[例][ruby]{
def foo(a,b,c)
[a, b, c]
end
proc = self.method(:foo).curry
proc2 = proc.call(1, 2) #=> #<Proc>
proc2.call(3) #=> [1,2,3]
def vararg(*args)
args
end
proc = self.method(:vararg).curry(4)
proc2 = proc.call(:x) #=> #<P......roc>
proc3 = proc2.call(:y, :z) #=> #<Proc>
proc3.call(:a) #=> [:x, :y, :z, :a]
//}
@see Proc#curry... -
Method
# curry(arity) -> Proc (15113.0) -
self を元にカリー化した Proc を返します。
...要があります。
//emlist[例][ruby]{
def foo(a,b,c)
[a, b, c]
end
proc = self.method(:foo).curry
proc2 = proc.call(1, 2) #=> #<Proc>
proc2.call(3) #=> [1,2,3]
def vararg(*args)
args
end
proc = self.method(:vararg).curry(4)
proc2 = proc.call(:x) #=> #<P......roc>
proc3 = proc2.call(:y, :z) #=> #<Proc>
proc3.call(:a) #=> [:x, :y, :z, :a]
//}
@see Proc#curry... -
IRB
:: OutputMethod # puts(*objs) -> object (15101.0) -
各 obj を self に出力し、それぞれの後に改行を出力します。
各 obj を self に出力し、それぞれの後に改行を出力します。
@param objs 任意のオブジェクトを指定します。