1212件ヒット
[1-100件を表示]
(0.103秒)
別のキーワード
種類
- インスタンスメソッド (1102)
- 特異メソッド (77)
- モジュール関数 (22)
- ライブラリ (11)
ライブラリ
- ビルトイン (705)
-
cgi
/ core (22) - csv (110)
- matrix (66)
-
net
/ smtp (44) - openssl (22)
- ostruct (11)
- rake (33)
- readline (22)
-
rexml
/ document (55) -
rubygems
/ platform (11) - shell (24)
-
shell
/ command-processor (24) -
shell
/ filter (30) -
webrick
/ httputils (11) -
yaml
/ dbm (11)
クラス
-
ARGF
. class (88) - Array (110)
- CSV (11)
-
CSV
:: FieldInfo (11) -
CSV
:: Row (22) -
CSV
:: Table (66) - Enumerator (22)
-
Enumerator
:: Lazy (11) -
File
:: Stat (11) -
Gem
:: Platform (11) - Hash (11)
- MatchData (66)
- Matrix (22)
-
Matrix
:: EigenvalueDecomposition (22) -
Matrix
:: LUPDecomposition (22) -
Net
:: SMTP (44) - NilClass (11)
- Object (11)
-
OpenSSL
:: X509 :: Extension (11) -
OpenSSL
:: X509 :: Name (11) - OpenStruct (11)
-
REXML
:: Attributes (11) -
REXML
:: Element (11) -
REXML
:: Elements (11) -
REXML
:: Parent (22) -
Rake
:: FileList (33) - Regexp (22)
- Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (30) - String (127)
- Struct (11)
- Time (44)
-
WEBrick
:: HTTPUtils :: FormData (11) -
YAML
:: DBM (11)
モジュール
-
CGI
:: QueryExtension :: Value (22) - Enumerable (149)
- Kernel (11)
- Readline (11)
オブジェクト
-
Readline
:: HISTORY (11)
キーワード
- << (22)
- == (11)
- Array (11)
- [] (33)
- atime (11)
- bytes (11)
- cat (18)
- chain (6)
- chars (22)
- children (11)
- chunk (11)
-
chunk
_ while (11) - codepoints (11)
-
col
_ sep (11) - combination (11)
- delete (11)
-
delete
_ at (11) -
delete
_ if (22) - each (33)
-
each
_ byte (22) -
each
_ codepoint (11) -
each
_ grapheme _ cluster (14) -
each
_ line (22) -
each
_ pair (11) - echo (18)
- entries (11)
- force (11)
-
get
_ elements (11) - glob (18)
-
grapheme
_ clusters (14) -
irb
/ completion (11) - length (11)
- line (11)
- lines (22)
- local (22)
- match (22)
-
max
_ by (44) - mktime (22)
- new (22)
- permutation (22)
-
rcptto
_ list (11) - readline (11)
- readlines (33)
-
repeated
_ combination (11) -
repeated
_ permutation (11) - sample (44)
-
send
_ mail (11) - sendmail (11)
- size (22)
-
slice
_ after (22) -
slice
_ before (22) -
slice
_ when (11) - tap (11)
- tee (18)
-
to
_ ary (66) - values (22)
-
values
_ at (11)
検索結果
先頭5件
-
REXML
:: Elements # to _ a(xpath = nil) -> [REXML :: Element] (21319.0) -
すべての子要素の配列を返します。
...EXML::Elements#each と同様、REXML::XPath.match などと
異なり、要素以外の子ノードは無視されます。
@param xpath XPath文字列
//emlist[][ruby]{
require 'rexml/document'
require 'rexml/xpath'
doc = REXML::Document.new '<a>sean<b/>elliott<c/></a>'
doc.root.elements.to_a......# => [<b/>, <c/>]
doc.root.elements.to_a("child::node()") # => [<b/>, <c/>]
REXML::XPath.match(doc.root, "child::node()") # => ["sean", <b/>, "elliott", <c/>]
//}... -
OpenSSL
:: X509 :: Extension # to _ a -> [String , String , bool] (21301.0) -
拡張領域の内容を、[識別子(extnID), 値(extnValue), 重要度(critical)] という 形で返します。
...拡張領域の内容を、[識別子(extnID), 値(extnValue), 重要度(critical)] という
形で返します。... -
OpenSSL
:: X509 :: Name # to _ a -> [[String , String , Integer]] (21219.0) -
内容を配列にして返します。
...数(OpenSSL::ASN1以下の各定数で定義されているASN1の型)] という3要素の配列です。
例:
require 'openssl'
n = OpenSSL::X509::Name.parse('/C=JP/ST=Kanagawa/L=Yokohama/O=Example Company/OU=Lab3/CN=foobar/emailAddress=foobar@lab3.example.co.jp')
n.to_a
# => [["C", "JP",......19], ["ST", "Kanagawa", 12], ["L", "Yokohama", 12], ["O", "Example Company", 12], ["OU", "Lab3", 12], ["CN", "foobar", 12], ["emailAddress", "foobar@lab3.example.co.jp", 22]]... -
CSV
:: Table # to _ a -> [Array] (21207.0) -
配列の配列を返します。
...素はデータを表わします。
//emlist[例][ruby]{
require "csv"
row1 = CSV::Row.new(["header1", "header2"], ["row1_1", "row1_2"])
row2 = CSV::Row.new(["header1", "header2"], ["row2_1", "row2_2"])
table = CSV::Table.new([row1, row2])
table.to_a # => [["header1", "header2"], ["row1_1", "row1... -
NilClass
# to _ a -> Array (21207.0) -
空配列 [] を返します。
...空配列 [] を返します。
//emlist[例][ruby]{
nil.to_a #=> []
//}... -
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']
//}... -
Rake
:: FileList # to _ a -> Array (21207.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
//}... -
Shell
:: Filter # to _ a -> [String] (21207.0) -
実行結果を文字列の配列で返します。
...実行結果を文字列の配列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
puts sh.cat("/etc/passwd").to_a... -
CGI
:: QueryExtension :: Value # to _ a -> Array (21201.0) -
@todo
@todo -
Gem
:: Platform # to _ a -> Array (21201.0) -
自身にセットされている CPU, OS, バージョンを配列として返します。
自身にセットされている CPU, OS, バージョンを配列として返します。