557件ヒット
[1-100件を表示]
(0.111秒)
ライブラリ
- ビルトイン (414)
-
cgi
/ core (22) - csv (11)
- matrix (55)
- optparse (11)
- ostruct (22)
-
rexml
/ document (11) -
webrick
/ httputils (11)
クラス
-
ARGF
. class (11) - Array (66)
-
CSV
:: Table (11) - Enumerator (61)
-
Enumerator
:: Lazy (11) - Hash (11)
- MatchData (22)
- Matrix (11)
-
Matrix
:: EigenvalueDecomposition (22) -
Matrix
:: LUPDecomposition (22) - OpenStruct (22)
- OptionParser (11)
-
REXML
:: Attributes (11) -
RubyVM
:: InstructionSequence (11) - String (50)
- Struct (22)
-
WEBrick
:: HTTPUtils :: FormData (11)
モジュール
-
CGI
:: QueryExtension :: Value (22) - Enumerable (149)
キーワード
- + (6)
- captures (11)
- chain (6)
- chunk (11)
-
chunk
_ while (11) - combination (11)
-
delete
_ if (11) - each (55)
-
each
_ byte (11) -
each
_ codepoint (11) -
each
_ grapheme _ cluster (14) -
each
_ line (11) -
each
_ pair (22) - entries (11)
- force (11)
-
grapheme
_ clusters (14) -
max
_ by (44) - permutation (22)
-
repeated
_ combination (11) -
repeated
_ permutation (22) - size (11)
-
slice
_ after (22) -
slice
_ before (22) -
slice
_ when (11) -
to
_ ary (44) - values (22)
-
values
_ at (11)
検索結果
先頭5件
-
CGI
:: QueryExtension :: Value # to _ a -> Array (24102.0) -
@todo
@todo -
REXML
:: Attributes # to _ a -> [Attribute] (21208.0) -
属性の配列を返します。
...属性の配列を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a x='1' y='2' z='3' />")
doc.root.attributes.to_a # => [x='1', y='2', z='3']
//}... -
RubyVM
:: InstructionSequence # to _ a -> Array (21108.0) -
self の情報を 14 要素の配列にして返します。
...す。
命令シーケンスを以下の情報で表します。
: magic
データフォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。
: major_version
命令シーケンスのメジャーバージョン。
: minor_version
命令シーケンスの......ed>"。
: #absolute_path
命令シーケンスの絶対パス。文字列から作成していた場合は nil。
: #first_lineno
命令シーケンスの 1 行目の行番号。
: type
命令シーケンスの種別。
:top、:method、:block、:class、:rescue、:ensure、:eval、:ma......in、
:defined_guard のいずれか。
: locals
全ての引数名、ローカル変数名からなる Symbol の配列。
: args
引数の指定が必須のメソッド、ブロックの引数の個数。あるいは以下のよう
な配列。
[required_argc, [optional_arg_labels... -
Struct
# to _ a -> [object] (21108.0) -
構造体のメンバの値を配列にいれて返します。
...にいれて返します。
//emlist[例][ruby]{
Customer = Struct.new(:name, :address, :zip)
Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345).to_a
# => ["Joe Smith", "123 Maple, Anytown NC", 12345]
//}
[注意] 本メソッドの記述は Struct の下位クラスのインスタンスに......対して呼び
出す事を想定しています。Struct.new は Struct の下位クラスを作成する点に
注意してください。... -
Matrix
:: EigenvalueDecomposition # to _ a -> [Matrix , Matrix , Matrix] (21102.0) -
Matrix::EigenvalueDecomposition#v, Matrix::EigenvalueDecomposition#d, Matrix::EigenvalueDecomposition#v_inv をこの順に並べた配列を返します。
...Matrix::EigenvalueDecomposition#v,
Matrix::EigenvalueDecomposition#d,
Matrix::EigenvalueDecomposition#v_inv
をこの順に並べた配列を返します。... -
Matrix
:: LUPDecomposition # to _ a -> [Matrix , Matrix , Matrix] (21102.0) -
分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で 返します。
分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で
返します。 -
OptionParser
# to _ a -> [String] (18120.0) -
サマリの各行を要素とした配列を返します。
...を返します。
//emlist[例][ruby]{
require "optparse"
opts = OptionParser.new do |opts|
opts.on_head("-i", "--init")
opts.on("-u", "--update")
opts.on_tail("-h", "--help")
end
opts.to_a # => ["Usage: test [options]", " -i, --init\n", " -u, --update\n", " -h, --help\n"]
//}... -
Enumerable
# to _ a(*args) -> [object] (18114.0) -
全ての要素を含む配列を返します。
...@param args each の呼び出し時に引数として渡されます。
//emlist[例][ruby]{
(1..7).to_a #=> [1, 2, 3, 4, 5, 6, 7]
{ 'a'=>1, 'b'=>2, 'c'=>3 }.to_a #=> [["a", 1], ["b", 2], ["c", 3]]
require 'prime'
Prime.entries 10 #=> [2, 3, 5, 7]
//}... -
CGI
:: QueryExtension :: Value # to _ ary -> Array (12102.0) -
@todo
@todo -
Struct
# values -> [object] (9108.0) -
構造体のメンバの値を配列にいれて返します。
...にいれて返します。
//emlist[例][ruby]{
Customer = Struct.new(:name, :address, :zip)
Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345).to_a
# => ["Joe Smith", "123 Maple, Anytown NC", 12345]
//}
[注意] 本メソッドの記述は Struct の下位クラスのインスタンスに......対して呼び
出す事を想定しています。Struct.new は Struct の下位クラスを作成する点に
注意してください。...