1383件ヒット
[1-100件を表示]
(0.130秒)
ライブラリ
- ビルトイン (773)
-
cgi
/ core (22) - csv (66)
- gdbm (11)
- matrix (77)
-
net
/ smtp (44) - openssl (22)
- optparse (11)
- ostruct (22)
- rake (33)
- readline (33)
-
rexml
/ document (44) - sdbm (11)
- shell (24)
-
shell
/ command-processor (24) -
shell
/ filter (30) - socket (22)
-
webrick
/ httputils (11) -
yaml
/ dbm (11)
クラス
-
ARGF
. class (66) - Array (110)
- CSV (11)
-
CSV
:: FieldInfo (11) -
CSV
:: Row (11) -
CSV
:: Table (33) - Enumerator (17)
-
Enumerator
:: Chain (6) -
File
:: Stat (11) - GDBM (11)
- MatchData (99)
- Matrix (33)
-
Matrix
:: EigenvalueDecomposition (22) -
Matrix
:: LUPDecomposition (22) -
Net
:: SMTP (44) - NilClass (11)
-
OpenSSL
:: X509 :: Extension (11) -
OpenSSL
:: X509 :: Name (11) - OpenStruct (22)
- OptionParser (11)
-
REXML
:: Attributes (11) -
REXML
:: Elements (11) -
REXML
:: Parent (22) -
Rake
:: FileList (33) - Range (12)
- Regexp (22)
-
RubyVM
:: InstructionSequence (11) - SDBM (11)
- Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (30) - Socket (11)
- String (160)
- Time (99)
-
WEBrick
:: HTTPUtils :: FormData (11) -
YAML
:: DBM (11)
モジュール
-
CGI
:: QueryExtension :: Value (22) - Enumerable (138)
- Readline (11)
-
Socket
:: Constants (11)
オブジェクト
- ENV (11)
-
Readline
:: HISTORY (11)
キーワード
- + (6)
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - == (11)
-
IPPROTO
_ AH (22) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 3
. 0 . 0 (4) - Readline (11)
- [] (44)
- atime (11)
- bytes (22)
- captures (11)
- cat (18)
- chain (6)
- chars (22)
- children (11)
-
chunk
_ while (11) - codepoints (22)
-
col
_ sep (11) - combination (22)
- delete (11)
-
delete
_ at (11) -
delete
_ if (22) - each (22)
-
each
_ codepoint (22) -
each
_ grapheme _ cluster (14) -
each
_ line (22) -
each
_ pair (22) - echo (18)
- entries (17)
- glob (18)
- gm (22)
-
grapheme
_ clusters (14) -
irb
/ completion (11) - length (11)
- line (11)
- lines (22)
- local (22)
- match (22)
-
max
_ by (44) - mktime (22)
- new (17)
- permutation (22)
- rake (11)
-
rcptto
_ list (11) -
rdoc
/ markup / to _ ansi (11) - readline (11)
- readlines (33)
-
repeated
_ combination (22) -
repeated
_ permutation (22) -
ruby 1
. 6 feature (11) - sample (22)
-
send
_ mail (11) - sendmail (11)
- size (22)
-
slice
_ after (22) -
slice
_ before (22) -
slice
_ when (11) -
svalue
_ to _ avalue (11) - tee (18)
-
to
_ ary (55) - utc (22)
-
values
_ at (11) - メソッド呼び出し(super・ブロック付き・yield) (11)
検索結果
先頭5件
-
Matrix
:: EigenvalueDecomposition # to _ a -> [Matrix , Matrix , Matrix] (21401.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] (21401.0) -
分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で 返します。
分解した行列を [下半行列, 上半行列, 置換行列] という3要素の配列で
返します。 -
OpenSSL
:: X509 :: Extension # to _ a -> [String , String , bool] (21301.0) -
拡張領域の内容を、[識別子(extnID), 値(extnValue), 重要度(critical)] という 形で返します。
...拡張領域の内容を、[識別子(extnID), 値(extnValue), 重要度(critical)] という
形で返します。... -
OptionParser
# to _ a -> [String] (21219.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, --h... -
REXML
:: Attributes # to _ a -> [Attribute] (21207.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']
//}... -
Shell
:: Filter # to _ a -> [String] (21207.0) -
実行結果を文字列の配列で返します。
...実行結果を文字列の配列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
puts sh.cat("/etc/passwd").to_a... -
Matrix
# to _ a -> Array (21107.0) -
自分自身をArrayに変換したものを返します。
...します。
行ベクトルを配列(Array)としたものの配列(つまり配列の配列)として返します。
//emlist[例][ruby]{
require 'matrix'
a1 = [ 1, 2, 3]
a2 = [10, 15, 20]
a3 = [-1, -2, 1.5]
m = Matrix[a1, a2, a3]
p m.to_a # => [[1, 2, 3], [10, 15, 20], [-1, -2, 1.5]]
//}... -
NilClass
# to _ a -> Array (21107.0) -
空配列 [] を返します。
...空配列 [] を返します。
//emlist[例][ruby]{
nil.to_a #=> []
//}... -
Rake
:: FileList # to _ a -> Array (21107.0) -
内部的な配列を返します。
...内部的な配列を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList['a.c', 'b.c']
file_list.to_a # => ["a.c", "b.c"]
end
//}... -
RubyVM
:: InstructionSequence # to _ a -> Array (21107.0) -
self の情報を 14 要素の配列にして返します。
...ンスを以下の情報で表します。
: magic
データフォーマットを示す文字列。常に
"YARVInstructionSequence/SimpleDataFormat"。
: major_version
命令シーケンスのメジャーバージョン。
: minor_version
命令シーケンスのマイナーバージ......ータフォーマットを示す数値。常に 1。
: misc
以下の要素から構成される Hash オブジェクト。
:arg_size: メソッド、ブロックが取る引数の総数(1 つもない場合は 0)。
:local_size: ローカル変数の総数 + 1。
:stack_max: ス......//emlist[例][ruby]{
require 'pp'
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
pp iseq.to_a
# ※ Ruby 2.5.0 での実行結果
# => ["YARVInstructionSequence/SimpleDataFormat",
# 2,
# 0,
# 1,
# {:arg_size=>0, :local_size=>2, :stack_max=>2},
# "<compiled>",
# "<compiled>",
# nil,
# 1...