44件ヒット
[1-44件を表示]
(0.047秒)
別のキーワード
ライブラリ
- csv (11)
-
rubygems
/ exceptions (22) -
rubygems
/ installer (11)
キーワード
- CSV (11)
- ExtensionBuildError (11)
- RemoteInstallationCancelled (11)
- RemoteInstallationSkipped (11)
検索結果
先頭4件
-
Gem
:: RemoteInstallationCancelled (18001.0) -
???
??? -
Gem
:: RemoteInstallationSkipped (18001.0) -
???
??? -
Gem
:: Installer :: ExtensionBuildError (15001.0) -
拡張ライブラリをビルド中にエラーが発生した場合に発生します。
拡張ライブラリをビルド中にエラーが発生した場合に発生します。 -
CSV (61.0)
-
このクラスは CSV ファイルやデータに対する完全なインターフェイスを提供します。
...ターフェイスを提供します。
=== 読み込み
//emlist[][ruby]{
require "csv"
csv_text = <<~CSV_TEXT
Ruby,1995
Rust,2010
CSV_TEXT
IO.write "sample.csv", csv_text
# ファイルから一行ずつ
CSV.foreach("sample.csv") do |row|
p row
end
# => ["Ruby", "1995"]
# ["Rust", "2......ィング (M17n or Multilingualization)
This new CSV parser is m17n savvy. The parser works in the Encoding of the IO
or String object being read from or written to. Your data is never transcoded
(unless you ask Ruby to transcode it for you) and will literally be parsed in
the Encoding it is in.......ntire process feel transparent, since CSV's defaults should just
magically work for you data. However, you can set these values manually in
the target Encoding to avoid the translation.
It's also important to note that while all of CSV's core parser is now
Encoding agnostic, some features are not....