種類
ライブラリ
- ビルトイン (1065)
- benchmark (11)
-
cgi
/ core (55) - continuation (11)
- csv (11)
- delegate (11)
- drb (11)
- fiber (8)
- fiddle (66)
-
json
/ add / bigdecimal (11) -
json
/ add / complex (11) -
json
/ add / date (11) -
json
/ add / date _ time (11) -
json
/ add / exception (11) -
json
/ add / ostruct (11) -
json
/ add / range (11) -
json
/ add / rational (11) -
json
/ add / regexp (11) -
json
/ add / struct (11) -
json
/ add / symbol (11) -
json
/ add / time (11) -
minitest
/ mock (1) -
minitest
/ spec (1) -
minitest
/ unit (3) -
net
/ ftp (66) -
net
/ smtp (22) - openssl (55)
- optparse (110)
- pathname (154)
- rake (187)
-
rdoc
/ rdoc (11) - resolv (22)
- ripper (22)
-
rubygems
/ command (132) -
rubygems
/ command _ manager (22) -
rubygems
/ config _ file (11) -
rubygems
/ doc _ manager (44) -
rubygems
/ gem _ runner (11) -
rubygems
/ source _ info _ cache (22) -
rubygems
/ specification (11) -
rubygems
/ user _ interaction (99) - set (22)
- un (11)
-
webrick
/ httpproxy (22) -
webrick
/ httputils (11) - win32ole (110)
- zlib (44)
クラス
- BasicObject (44)
-
Benchmark
:: Tms (11) - BigDecimal (11)
-
CSV
:: Row (11) - Class (22)
- Complex (11)
- Data (14)
- Date (11)
- DateTime (11)
- Delegator (11)
- Enumerator (113)
-
Enumerator
:: Chain (12) -
Enumerator
:: Lazy (65) - Exception (11)
- Fiber (11)
-
Fiddle
:: Closure (22) -
Fiddle
:: Closure :: BlockCaller (22) -
Fiddle
:: Function (22) -
Gem
:: Command (132) -
Gem
:: CommandManager (22) -
Gem
:: ConfigFile (11) -
Gem
:: DocManager (44) -
Gem
:: GemRunner (11) -
Gem
:: SourceInfoCache (22) -
Gem
:: Specification (11) -
Gem
:: StreamUI (11) - Hash (5)
- IO (187)
- Method (60)
-
MiniTest
:: Mock (1) -
MiniTest
:: Unit (2) - Module (27)
-
Net
:: FTP (66) -
Net
:: SMTP (22) - NoMethodError (28)
- Object (111)
-
OpenSSL
:: Cipher :: IDEA (11) -
OpenSSL
:: Cipher :: RC5 (11) -
OpenSSL
:: Digest :: Digest (11) - OpenStruct (11)
- OptionParser (88)
-
OptionParser
:: ParseError (22) - Pathname (154)
- Proc (5)
-
Rake
:: FileList (11) -
Rake
:: Task (55) - Range (11)
- Rational (11)
- Regexp (11)
-
Resolv
:: DNS (22) - Ripper (22)
-
RubyVM
:: InstructionSequence (11) - String (11)
- Struct (55)
- Symbol (11)
- Time (11)
- UnboundMethod (10)
-
WEBrick
:: HTTPUtils :: FormData (11) - WIN32OLE (77)
-
WIN32OLE
_ EVENT (33) -
Zlib
:: GzipFile (33) -
Zlib
:: GzipWriter (11)
モジュール
-
CGI
:: QueryExtension (44) -
CGI
:: QueryExtension :: Value (11) - Enumerable (105)
- FileUtils (22)
-
Gem
:: UserInteraction (88) - Kernel (231)
-
MiniTest
:: Assertions (1) -
OpenSSL
:: Buffering (22) - Process (11)
- Rake (11)
-
Rake
:: TaskManager (33) -
RubyVM
:: AbstractSyntaxTree (24)
オブジェクト
-
WEBrick
:: NullReader (22)
キーワード
- % (11)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - === (7)
- BasicObject (11)
- Continuation (11)
- DRbProtocol (11)
-
EMPTY
_ TASK _ ARGS (11) -
NEWS for Ruby 2
. 7 . 0 (5) - RDoc (11)
- Ruby プログラムの実行 (11)
- [] (48)
-
_ _ send _ _ (22) -
_ getproperty (11) -
_ invoke (11) -
_ setproperty (11) -
add
_ common _ option (11) -
add
_ extra _ args (11) -
add
_ specific _ extra _ args (11) - alert (11)
-
alert
_ error (11) -
alert
_ warning (11) - allocate (11)
- ask (11)
-
ask
_ yes _ no (11) -
assert
_ raises (1) - attributes (11)
-
bind
_ call (10) - binread (11)
- binwrite (11)
- bmcall (11)
-
build
_ args (11) -
build
_ args= (11) - call (44)
- caller (33)
-
choose
_ from _ list (11) -
class
_ exec (11) -
configured
_ args (11) -
configured
_ args= (11) -
create
_ rule (22) - curry (20)
- define (4)
-
define
_ task (22) - dir (22)
- each (56)
-
each
_ line (22) -
each
_ with _ index (22) -
each
_ with _ object (22) - entries (11)
-
enum
_ for (44) -
eval
_ under _ i (11) - exec (55)
-
exec
_ under (11) - execute (11)
- expect (1)
-
extra
_ args (11) -
extra
_ args= (11) - file (11)
-
file
_ create (11) - fnmatch (11)
- fnmatch? (11)
- force (11)
- format (11)
- gets (11)
- handler= (11)
- handles? (11)
-
has
_ key? (11) - include? (11)
- initialize (11)
-
instance
_ exec (11) - invoke (33)
- join (11)
- key? (11)
- keys (11)
- list (22)
- ls (22)
-
method
_ missing (33) - mkdir (11)
- mkmf (11)
-
module
_ exec (11) - multitask (11)
-
must
_ raise (1) - new (178)
-
next
_ values (11) - of (8)
-
on
_ event (11) -
on
_ event _ with _ outargs (11) - open (55)
- order (44)
- parse (30)
-
parse
_ file (8) - permute (22)
- popen (154)
- print (11)
- printf (22)
-
proc
_ call (11) -
proc
_ invoke (11) -
proc
_ yield (11) -
process
_ args (12) -
progress
_ reporter (11) -
public
_ send (22) - push (11)
-
rb
_ apply (11) -
rb
_ define _ method (11) -
rb
_ funcall (11) -
rb
_ funcall2 (11) -
rb
_ scan _ args (11) -
rb
_ thread _ initialize (11) -
rb
_ thread _ start (11) - read (55)
- readlines (11)
- ready (11)
- recover (11)
-
resolve
_ args (11) -
respond
_ to _ missing? (11) -
ret
_ args (11) -
rexml
/ parsers / sax2parser (11) -
rexml
/ parsers / streamparser (11) - ruby (11)
-
ruby 1
. 9 feature (11) -
ruby2
_ keywords (10) -
ruby2
_ keywords _ hash? (5) -
rubygems
/ commands / pristine _ command (11) -
rubygems
/ commands / rdoc _ command (11) - rule (11)
- run (23)
-
run
_ rdoc (11) -
run
_ single _ final (11) -
safe
_ ln (11) - say (11)
- search (11)
-
search
_ with _ source (11) - send (22)
-
set
_ arg _ names (11) - setproperty (22)
- spawn (44)
-
specific
_ extra _ args (11) -
specific
_ extra _ args _ hash (11) - sysopen (11)
- system (44)
- task (11)
-
terminate
_ interaction (11) -
to
_ a (22) -
to
_ enum (44) -
to
_ h (17) -
to
_ json (132) -
to
_ set (22) - transfer (11)
- umcall (11)
- warn (11)
- warning (11)
- with (2)
-
with
_ index (32) -
with
_ object (22) - wrap (11)
- クラス/メソッドの定義 (11)
検索結果
先頭5件
-
Rake
:: EMPTY _ TASK _ ARGS -> Rake :: TaskArguments (6101.0) -
空のタスクに渡すパラメータをあらわす定数です。
空のタスクに渡すパラメータをあらわす定数です。 -
static NODE * ret
_ args(NODE *node) (6100.0) -
-
Object
# enum _ for(method = :each , *args) {|*args| . . . } -> Enumerator (234.0) -
Enumerator.new(self, method, *args) を返します。
...r.new(self, method, *args) を返します。
ブロックを指定した場合は Enumerator#size がブロックの評価結果を返
します。ブロックパラメータは引数 args です。
@param method メソッド名の文字列かシンボルです。
@param args 呼び出すメソ... -
Object
# to _ enum(method = :each , *args) {|*args| . . . } -> Enumerator (234.0) -
Enumerator.new(self, method, *args) を返します。
...r.new(self, method, *args) を返します。
ブロックを指定した場合は Enumerator#size がブロックの評価結果を返
します。ブロックパラメータは引数 args です。
@param method メソッド名の文字列かシンボルです。
@param args 呼び出すメソ... -
Enumerator
:: Chain # each(*args) { |*args| . . . } -> object (219.0) -
まず最初の繰り返し可能なオブジェクトの each メソッドを args 引数とともに呼び出した後、続く繰り返し可能なオブジェクト も同様に呼び出します。
...まず最初の繰り返し可能なオブジェクトの each メソッドを
args 引数とともに呼び出した後、続く繰り返し可能なオブジェクト
も同様に呼び出します。
ブロックが渡されない場合は Enumerator を返します。... -
Enumerator
:: Lazy # enum _ for(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (206.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
Enumerator
:: Lazy # to _ enum(method = :each , *args) {|*args| block} -> Enumerator :: Lazy (206.0) -
Object#to_enum と同じですが、Enumerator::Lazy を返します。
Object#to_enum と同じですが、Enumerator::Lazy を返します。
to_enum は「ブロック付きで呼ぶとループを実行し、ブロックを省略した場合は
Enumerator を返す」ようなメソッドを定義するときによく使われます。
このときに lazy 性が正しく引き継がれるように、Lazy#to_enum は
素のEnumerator ではなく Enumerator::Lazy を返すようになっています。
//emlist[例][ruby]{
module Enumerable
# 要素をn回ずつ繰り返すメソッド
# 例:[1,2,3].repeat(2) ... -
VALUE rb
_ funcall2(VALUE recv , ID name , int nargs , VALUE *args) (200.0) -
recv に対してメソッド name を呼びだし、 メソッドの返り値を返します。プライベートメソッドも 呼びだせます。
...recv に対してメソッド name を呼びだし、
メソッドの返り値を返します。プライベートメソッドも
呼びだせます。
メソッドへの引数は VALUE の配列として第四引数にあたえ、
その長さを nargs に指定します。... -
BasicObject
# _ _ send _ _ (name , *args) -> object (148.0) -
オブジェクトのメソッド name を args を引数にして呼び出し、メソッドの結果を返します。
...name を args を引数にして呼び出し、メソッドの結果を返します。
ブロック付きで呼ばれたときはブロックもそのまま引き渡します。
@param name 呼び出すメソッドの名前。 Symbol または文字列で指定します。
@param args メソッ......ドに渡す任意個の引数
//emlist[例][ruby]{
class Mail
def delete(*args)
"(Mail#delete) - delete " + args.join(',')
end
def send(name, *args)
"(Mail#send) - #{name} #{args.join(',')}"
end
end
mail = Mail.new
mail.send :delete, "gentle", "readers" # => "(Mail#send) - de... -
BasicObject
# _ _ send _ _ (name , *args) { . . . . } -> object (148.0) -
オブジェクトのメソッド name を args を引数にして呼び出し、メソッドの結果を返します。
...name を args を引数にして呼び出し、メソッドの結果を返します。
ブロック付きで呼ばれたときはブロックもそのまま引き渡します。
@param name 呼び出すメソッドの名前。 Symbol または文字列で指定します。
@param args メソッ......ドに渡す任意個の引数
//emlist[例][ruby]{
class Mail
def delete(*args)
"(Mail#delete) - delete " + args.join(',')
end
def send(name, *args)
"(Mail#send) - #{name} #{args.join(',')}"
end
end
mail = Mail.new
mail.send :delete, "gentle", "readers" # => "(Mail#send) - de...