4812件ヒット
[201-300件を表示]
(0.073秒)
種類
ライブラリ
- ビルトイン (1452)
-
cgi
/ core (22) -
cgi
/ html (44) - delegate (44)
- drb (22)
- erb (55)
- fileutils (22)
- forwardable (88)
-
irb
/ cmd / help (11) -
irb
/ context (22) -
irb
/ extend-command (22) -
irb
/ input-method (253) -
irb
/ output-method (88) - json (352)
-
minitest
/ spec (1) -
minitest
/ unit (3) -
net
/ http (33) -
net
/ imap (22) - objspace (11)
- openssl (132)
- pp (11)
- psych (8)
- rake (33)
- rdoc (11)
-
rdoc
/ any _ method (11) -
rdoc
/ code _ object (11) -
rdoc
/ context (88) -
rdoc
/ ghost _ method (11) -
rdoc
/ stats (22) -
rdoc
/ top _ level (11) - rss (11)
- rubygems (11)
-
shell
/ command-processor (12) -
shell
/ error (6) -
syslog
/ logger (11) -
webrick
/ httprequest (11) -
webrick
/ httpresponse (22) -
webrick
/ httpstatus (451) - win32ole (396)
クラス
- Array (9)
- BasicObject (66)
- CGI (11)
-
DRb
:: DRbServer (11) - Delegator (44)
- ERB (33)
- Enumerator (7)
-
Enumerator
:: Lazy (44) -
IRB
:: Context (22) -
IRB
:: ExtendCommand :: Help (11) -
IRB
:: FileInputMethod (33) -
IRB
:: InputMethod (44) -
IRB
:: OutputMethod (55) -
IRB
:: ReadlineInputMethod (66) -
IRB
:: StdioInputMethod (66) -
IRB
:: StdioOutputMethod (11) - Method (247)
-
MiniTest
:: Unit (1) -
MiniTest
:: Unit :: TestCase (1) - Module (362)
-
Net
:: HTTPGenericRequest (11) -
Net
:: IMAP (22) - NoMethodError (36)
- Object (199)
-
OpenSSL
:: Engine (99) -
OpenSSL
:: SSL :: SSLContext (33) - PP (11)
- Proc (18)
-
RDoc
:: CodeObject (11) -
RDoc
:: Context (88) -
RDoc
:: Stats (22) -
RDoc
:: TopLevel (11) -
Rake
:: FileList (22) - Refinement (3)
- Regexp (22)
-
RubyVM
:: InstructionSequence (33) -
Shell
:: CommandProcessor (12) - String (33)
-
Syslog
:: Logger (11) - Thread (11)
- TracePoint (22)
- UnboundMethod (163)
-
WEBrick
:: HTTPRequest (11) -
WEBrick
:: HTTPResponse (22) - WIN32OLE (110)
-
WIN32OLE
_ EVENT (11) -
WIN32OLE
_ METHOD (209) -
WIN32OLE
_ PARAM (33) -
WIN32OLE
_ TYPE (22)
モジュール
-
CGI
:: HtmlExtension (44) -
CGI
:: QueryExtension (11) -
ERB
:: DefMethod (11) - FileUtils (22)
- Forwardable (44)
-
Gem
:: QuickLoader (11) -
IRB
:: ExtendCommandBundle (22) -
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 (90)
- Marshal (22)
-
MiniTest
:: Assertions (1) -
Net
:: HTTPHeader (11) - ObjectSpace (11)
- RDoc (11)
-
RubyVM
:: AbstractSyntaxTree (8) - SingleForwardable (44)
-
WEBrick
:: HTTPStatus (440)
オブジェクト
- main (22)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - << (6)
- == (22)
- === (7)
- >> (6)
-
ARRAY
_ METHODS (11) - AnyMethod (11)
- Array (22)
- CantApplyMethod (6)
-
DELEGATING
_ METHODS (11) - DRbObject (11)
- DefMethod (11)
- Extend (22)
- FalseClass (22)
- FileInputMethod (11)
- Float (22)
- GhostMethod (11)
- HTTPMethodNotAllowed (11)
- Hash (22)
-
INSECURE
_ METHOD (11) - InputMethod (11)
- Integer (22)
- 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) - MetaMethod (11)
- MethodNotAllowed (11)
-
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (4) -
NEWS for Ruby 3
. 1 . 0 (3) - NilClass (22)
- NoDelegateMethods (6)
- NoMethodError (11)
- Numeric (11)
- Object (22)
- OutputMethod (11)
- Proc (11)
-
RC
_ ACCEPTED (11) -
RC
_ BAD _ GATEWAY (11) -
RC
_ BAD _ REQUEST (11) -
RC
_ CONFLICT (11) -
RC
_ CONTINUE (11) -
RC
_ CREATED (11) -
RC
_ EXPECTATION _ FAILED (11) -
RC
_ FORBIDDEN (11) -
RC
_ FOUND (11) -
RC
_ GATEWAY _ TIMEOUT (11) -
RC
_ GONE (11) -
RC
_ HTTP _ VERSION _ NOT _ SUPPORTED (11) -
RC
_ INTERNAL _ SERVER _ ERROR (11) -
RC
_ LENGTH _ REQUIRED (11) -
RC
_ METHOD _ NOT _ ALLOWED (11) -
RC
_ MOVED _ PERMANENTLY (11) -
RC
_ MULTIPLE _ CHOICES (11) -
RC
_ NON _ AUTHORITATIVE _ INFORMATION (11) -
RC
_ NOT _ ACCEPTABLE (11) -
RC
_ NOT _ FOUND (11) -
RC
_ NOT _ IMPLEMENTED (11) -
RC
_ NOT _ MODIFIED (11) -
RC
_ NO _ CONTENT (11) -
RC
_ OK (11) -
RC
_ PARTIAL _ CONTENT (11) -
RC
_ PAYMENT _ REQUIRED (11) -
RC
_ PRECONDITION _ FAILED (11) -
RC
_ PROXY _ AUTHENTICATION _ REQUIRED (11) -
RC
_ REQUEST _ ENTITY _ TOO _ LARGE (11) -
RC
_ REQUEST _ RANGE _ NOT _ SATISFIABLE (11) -
RC
_ REQUEST _ TIMEOUT (11) -
RC
_ REQUEST _ URI _ TOO _ LARGE (11) -
RC
_ RESET _ CONTENT (11) -
RC
_ SEE _ OTHER (11) -
RC
_ SERVICE _ UNAVAILABLE (11) -
RC
_ SWITCHING _ PROTOCOLS (11) -
RC
_ TEMPORARY _ REDIRECT (11) -
RC
_ UNAUTHORIZED (11) -
RC
_ UNSUPPORTED _ MEDIA _ TYPE (11) -
RC
_ USE _ PROXY (11) -
RUBY
_ METHOD _ FUNC (11) - ReFe (11)
- ReadlineInputMethod (11)
- Ruby プログラムの実行 (11)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- Ruby用語集 (11)
- StdioInputMethod (11)
- StdioOutputMethod (11)
- String (22)
- TrueClass (22)
- UnboundMethod (11)
- UnknownConversionMethodError (11)
-
WIN32OLE
_ METHOD (11) - [] (22)
-
_ _ method _ _ (11) -
_ getproperty (11) -
_ invoke (11) -
_ setproperty (11) -
add
_ method (11) -
add
_ response _ handler (22) -
add
_ to (11) -
alias
_ method (11) - args (11)
- arity (22)
-
assert
_ respond _ to (1) - bind (11)
-
bind
_ call (10) -
bm
_ mark (11) - bmcall (11)
- call (22)
-
callee
_ id (11) - caller (33)
-
class
_ exec (11) - clone (22)
-
clone
_ method (11) -
collect
_ method (11) -
convert
_ type (11) -
count
_ nodes (11) - curry (20)
- debug (11)
-
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) -
did
_ you _ mean (11) - dig (9)
- disasm (11)
- disassemble (11)
- dispid (11)
- dump (22)
-
each
_ method (11) - encode (33)
- encoding (33)
-
enum
_ for (44) - eof? (22)
- eql? (22)
- eval (11)
- event? (11)
-
event
_ interface (11) - execute (11)
-
file
_ name (11) -
find
_ local _ symbol (22) -
find
_ symbol (11) - form (22)
- gets (44)
- handler= (11)
- hash (22)
- header (11)
- helpcontext (11)
- helpfile (11)
- helpstring (11)
-
import
_ methods (3) -
initialize
_ methods _ etc (11) -
ins
_ methods _ i (11) -
ins
_ methods _ priv _ i (11) -
ins
_ methods _ prot _ i (11) - inspect (22)
-
install
_ alias _ method (11) -
instance
_ eval (22) -
instance
_ method (11) -
instance
_ methods (11) - invkind (11)
-
invoke
_ kind (11) - io (11)
- irb (11)
-
irb
/ input-method (11) -
irb
/ output-method (11) -
irb
_ original _ method _ name (11) -
json
_ create (11) - lambda (17)
- lambda? (11)
-
last
_ match (11) - line (22)
-
make
_ methods (11) - match (11)
- method (33)
-
method
_ added (17) -
method
_ arity (11) -
method
_ call (11) -
method
_ clone (11) -
method
_ defined? (11) -
method
_ eq (11) -
method
_ id (11) -
method
_ inspect (11) -
method
_ list (22) -
method
_ missing (44) -
method
_ proc (11) -
method
_ removed (11) -
method
_ unbind (11) -
method
_ undefined (11) - methods (22)
-
module
_ exec (11) -
module
_ function (19) -
multipart
_ form (22) -
must
_ respond _ to (1) - name (33)
- new (112)
-
num
_ methods (11) -
num
_ methods= (11) - of (19)
-
offset
_ vtbl (11) -
ole
_ func _ methods (11) -
ole
_ get _ methods (11) -
ole
_ method (11) -
ole
_ method _ help (11) -
ole
_ methods (22) -
ole
_ put _ methods (11) -
ole
_ type _ detail (11) -
original
_ name (22) - owner (22)
- parameters (24)
- params (11)
- pp (11)
- ppx (11)
- print (22)
- printn (11)
- private (23)
-
private
_ call? (8) -
private
_ class _ method (15) -
private
_ instance _ methods (11) -
private
_ method _ defined? (11) -
private
_ methods (11) - proc (18)
- 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) -
rb
_ add _ method (11) -
rb
_ call (11) -
rb
_ catch (11) -
rb
_ check _ convert _ type (11) -
rb
_ class _ instance _ methods (11) -
rb
_ class _ private _ instance _ methods (11) -
rb
_ class _ protected _ instance _ methods (11) -
rb
_ convert _ type (11) -
rb
_ define _ global _ function (11) -
rb
_ define _ method (11) -
rb
_ define _ method _ id (11) -
rb
_ define _ module _ function (11) -
rb
_ define _ private _ method (11) -
rb
_ define _ protected _ method (11) -
rb
_ define _ singleton _ method (11) -
rb
_ export _ method (11) -
rb
_ get _ method _ body (11) -
rb
_ method _ boundp (11) -
rb
_ mod _ alias _ method (11) -
rb
_ mod _ define _ method (11) -
rb
_ mod _ method (11) -
rb
_ mod _ method _ defined (11) -
rb
_ mod _ private _ method (11) -
rb
_ mod _ public _ method (11) -
rb
_ mod _ remove _ method (11) -
rb
_ mod _ undef _ method (11) -
rb
_ obj _ method (11) -
rb
_ obj _ methods (11) -
rb
_ obj _ private _ methods (11) -
rb
_ obj _ protected _ methods (11) -
rb
_ obj _ singleton _ methods (11) -
rb
_ remove _ method (11) -
rb
_ to _ integer (11) -
rb
_ undef _ method (11) - rdoc (11)
-
rdoc
/ any _ method (11) -
rdoc
/ ghost _ method (11) -
rdoc
/ parser / c (11) -
rdoc
/ parser / ruby (11) -
readable
_ atfer _ eof? (33) - receiver (11)
-
remove
_ method (22) -
remove
_ methods _ etc (11) -
request
_ method (33) -
request
_ method= (11) -
respond
_ to? (11) -
respond
_ to _ missing? (11) -
return
_ type (11) -
return
_ type _ detail (11) -
return
_ vtype (11) -
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
ruby2
_ keywords (10) -
search
_ method (11) - send (22)
- seplist (11)
-
set
_ default (11) -
set
_ method _ visibility (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 (22) -
super
_ method (20) -
test
_ methods (1) -
tmp
_ dh _ callback= (11) -
to
_ enum (44) -
to
_ json (99) -
to
_ json _ raw (11) -
to
_ json _ raw _ object (11) -
to
_ proc (11) -
to
_ s (33) - umcall (11)
-
umethod
_ bind (11) -
umethod
_ call (11) -
umethod
_ proc (11) -
umethod
_ unbind (11) - unbind (11)
-
undef
_ method (11) - visible? (11)
-
webrick
/ cgi (11) -
yaml
_ as (4) - クラス/メソッドの定義 (11)
- メソッド呼び出し(super・ブロック付き・yield) (11)
- リテラル (11)
- 制御構造 (11)
- 手続きオブジェクトの挙動の詳細 (11)
検索結果
先頭5件
-
Method
# [](*args) -> object (24012.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...@param args self に渡される引数。
@see UnboundMethod#bind_call
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}... -
Method
# call(*args) -> object (24012.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...@param args self に渡される引数。
@see UnboundMethod#bind_call
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}... -
Method
# call(*args) { . . . } -> object (24012.0) -
メソッドオブジェクトに封入されているメソッドを起動します。
...@param args self に渡される引数。
@see UnboundMethod#bind_call
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m[1] # => "foo called with arg 1"
m.call(2) # => "foo called with arg 2"
//}... -
Method
# curry -> Proc (24012.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) #=>... -
Method
# curry(arity) -> Proc (24012.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) #=>... -
Method
# eql?(other) -> bool (24012.0) -
自身と other が同じインスタンスの同じメソッドを表す場合に true を返します。そうでない場合に false を返します。
...ッドを表す場合に
true を返します。そうでない場合に false を返します。
@param other 自身と比較したいオブジェクトを指定します。
//emlist[例][ruby]{
s = "bar"
a = s.method(:size)
b = s.method(:size)
p a == b #=> true
//}... -
Method
# hash -> Integer (24012.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
# name -> Symbol (24012.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
# receiver -> object (24012.0) -
このメソッドオブジェクトのレシーバを返します。
...のメソッドオブジェクトのレシーバを返します。
//emlist[例][ruby]{
class Foo
def foo(arg)
"foo called with arg #{arg}"
end
end
m = Foo.new.method(:foo) # => #<Method: Foo#foo>
m.receiver # => #<Foo:0x007fb39203eb78>
m.receiver.foo(1) # => "foo called with arg 1"
//}... -
Method
# original _ name -> Symbol (24006.0) -
オリジナルのメソッド名を返します。
...オリジナルのメソッド名を返します。
//emlist[例][ruby]{
class C
def foo; end
alias bar foo
end
C.new.method(:bar).original_name # => :foo
//}
@see UnboundMethod#original_name... -
ERB
:: DefMethod . # def _ erb _ method(methodname , erb) -> nil (18307.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... -
static VALUE rb
_ mod _ method _ defined(VALUE mod , VALUE mid) (18300.0) -