874件ヒット
[801-874件を表示]
(0.078秒)
ライブラリ
- ビルトイン (84)
- csv (396)
-
io
/ wait (24) - json (12)
- mkmf (12)
-
net
/ ftp (40) - pathname (60)
-
rubygems
/ specification (84) -
rubygems
/ uninstaller (12) - shell (30)
-
shell
/ command-processor (30) -
shell
/ filter (30) - un (12)
-
webrick
/ httpserver (48)
クラス
- CSV (24)
-
CSV
:: Row (24) -
CSV
:: Table (348) - Class (12)
-
File
:: Stat (60) -
Gem
:: Specification (84) -
Gem
:: Uninstaller (12) - IO (36)
-
Net
:: FTP :: MLSxEntry (40) - Pathname (60)
-
RubyVM
:: InstructionSequence (12) - Shell (30)
-
Shell
:: CommandProcessor (30) -
Shell
:: Filter (30) -
WEBrick
:: HTTPServer :: MountTable (48)
モジュール
- Kernel (24)
キーワード
- << (12)
- == (12)
- [] (48)
- []= (24)
-
add
_ bindir (12) -
by
_ col (12) -
by
_ col! (12) -
by
_ col _ or _ row (12) -
by
_ col _ or _ row! (12) -
by
_ row (12) -
by
_ row! (12) - creatable? (10)
-
default
_ executable (12) -
default
_ executable= (12) - deletable? (10)
- delete (24)
-
delete
_ if (24) - each (24)
- empty? (12)
- executable (12)
- executable= (12)
- executable? (42)
-
executable
_ real? (42) - executables (12)
- executables= (12)
- fields (12)
-
find
_ executable (12) - headers (12)
- inspect (12)
-
json
_ creatable? (12) - length (12)
- listable? (10)
- mode (12)
- push (12)
- read (12)
- readlines (12)
-
remove
_ executables (12) - scan (12)
- size (12)
-
to
_ a (24) -
to
_ csv (12) -
to
_ s (12) -
values
_ at (24) -
wait
_ writable (36) -
world
_ writable? (42) - writable? (52)
-
writable
_ real? (42) -
write
_ nonblock (12)
検索結果
先頭5件
-
CSV
# read -> [Array] | CSV :: Table (125.0) -
残りの行を読み込んで配列の配列を返します。 self の生成時に headers オプションに偽でない値が指定されていた場合は CSV::Table オブジェクトを返します。
...み込んで配列の配列を返します。
self の生成時に headers オプションに偽でない値が指定されていた場合は CSV::Table オブジェクトを返します。
データソースは読み込み用にオープンされている必要があります。
//emlist[例 head......_1", "row1_2"], ["row2_1", "row2_2"]]
__END__
header1,header2
row1_1,row1_2
row2_1,row2_2
//}
//emlist[例 headers: true][ruby]{
require "csv"
csv = CSV.new(DATA.read, headers: true)
csv.read
# => #<CSV::Table mode:col_or_row row_count:3>
__END__
header1,header2
row1_1,row1_2
row2_1,row2_2
//}... -
CSV
# readlines -> [Array] | CSV :: Table (125.0) -
残りの行を読み込んで配列の配列を返します。 self の生成時に headers オプションに偽でない値が指定されていた場合は CSV::Table オブジェクトを返します。
...み込んで配列の配列を返します。
self の生成時に headers オプションに偽でない値が指定されていた場合は CSV::Table オブジェクトを返します。
データソースは読み込み用にオープンされている必要があります。
//emlist[例 head......_1", "row1_2"], ["row2_1", "row2_2"]]
__END__
header1,header2
row1_1,row1_2
row2_1,row2_2
//}
//emlist[例 headers: true][ruby]{
require "csv"
csv = CSV.new(DATA.read, headers: true)
csv.read
# => #<CSV::Table mode:col_or_row row_count:3>
__END__
header1,header2
row1_1,row1_2
row2_1,row2_2
//}... -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (101.0) -
実行コマンドの格納場所を返します。
...実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。... -
IO
# write _ nonblock(string , exception: true) -> Integer | :wait _ writable (101.0) -
IO をノンブロッキングモードに設定し、string を write(2) システムコールで書き出します。
...た例外 がErrno::EAGAIN、 Errno::EWOULDBLOCK である場合は、
その例外オブジェクトに IO::WaitWritable が Object#extend
されます。よって IO::WaitWritable を write_nonblock のリトライが必要
かの判定に用いることができます。
@param string 自身に......m exception false を指定すると、書き込み時に Errno::EAGAIN、Errno::EWOULDBLOCK が発生
する代わりに :wait_writable を返します。
@raise IOError 自身が書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX write(2)... -
CSV
:: Row # fields(*headers _ and _ or _ indices) -> Array (13.0) -
与えられた引数に対応する値の配列を返します。
...るこ
とができます。
@return 引数を与えなかった場合は全ての要素を返します。
require 'csv'
csv = CSV.new("a,b,c\n1,2,3", headers: true)
table = csv.read
row = table.first
row.values_at("a", 1, 2..3) # => ["1", "2", "3", nil]... -
CSV
:: Row # values _ at(*headers _ and _ or _ indices) -> Array (13.0) -
与えられた引数に対応する値の配列を返します。
...るこ
とができます。
@return 引数を与えなかった場合は全ての要素を返します。
require 'csv'
csv = CSV.new("a,b,c\n1,2,3", headers: true)
table = csv.read
row = table.first
row.values_at("a", 1, 2..3) # => ["1", "2", "3", nil]... -
RubyVM
:: InstructionSequence # to _ a -> Array (7.0) -
self の情報を 14 要素の配列にして返します。
...splat_index, post_splat_argc, post_splat_index,
block_index, simple]
より詳細な情報については、vm_core.h を参照。
: catch_table
例外や制御構造のオペレータ(rescue、next、redo、break など)の一覧。
: bytecode
命令シーケンスを構成する命...