55件ヒット
[1-55件を表示]
(0.030秒)
別のキーワード
種類
- インスタンスメソッド (33)
- 文書 (11)
- クラス (11)
ライブラリ
- csv (11)
- rake (22)
-
win32
/ registry (11)
クラス
-
Rake
:: FileList (22) -
Win32
:: Registry (11)
キーワード
- CSV (11)
- disposition (11)
- existing! (11)
-
ruby 1
. 8 . 4 feature (11)
検索結果
先頭5件
-
Rake
:: FileList # existing -> Rake :: FileList (18119.0) -
自身に含まれるファイルのうちファイルシステムに存在するファイルのみを 含む Rake::FileList を返します。
...ます。
//emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.existing # => ["test1.rb", "test2.rb"]
end
//}... -
Rake
:: FileList # existing! -> self (6119.0) -
自身に含まれるファイルのうちファイルシステムに存在するファイルのみを 含むように自身を変更して返します。
.../emlist[][ruby]{
# Rakefile での記載例とする
IO.write("test1.rb", "test")
IO.write("test2.rb", "test")
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.existing! # => ["test1.rb", "test2.rb"]
file_list... -
Win32
:: Registry # disposition (6106.0) -
@todo
...@todo
キーの disposition 値を返します。
(REG_CREATED_NEW_KEY または REG_OPENED_EXISTING_KEY)... -
ruby 1
. 8 . 4 feature (42.0) -
ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。
.../File.join [bug]>))
* ((<ruby 1.8.4 feature/Thread#pass [bug]>))
* ((<ruby 1.8.4 feature/Module#const_missing [bug]>))
* ((<ruby 1.8.4 feature/IO [bug]>))
* ((<ruby 1.8.4 feature/添付ライブラリ>))
* ((<ruby 1.8.4 feature/"Ruby/Tk">))
* ((<ruby 1.8.4 feature/REXML [compat]>))
* ((<......bug]>))
* ((<ruby 1.8.4 feature/IA64 [bug]>))
== Ruby本体
: Symbol [bug]
# * parse.y (dsym): prohibit empty symbol literal by interpolation.
# fixed: [ruby-talk:166529]
式展開で空のSymbolを作ることができたバグの修正。 ((<ruby-talk:166529>))
p :......5 23:46:35 2005 Yukihiro Matsumoto <matz@ruby-lang.org>
#
# * lib/find.rb (Find::find): should not ignore symbolic links to
# non-existing files. [ruby-talk:165866]
broken symbolic link(存在しないファイルに対するシンボリックリン
ク)も返すように... -
CSV (30.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......<< %w{my data here} } # to $stderr
//}
=== CSV と文字エンコーディング (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 tran......ethods that allow you to open IO objects (CSV::foreach(), CSV::open(),
CSV::read(), and CSV::readlines()) do allow you to specify the Encoding.
One minor exception comes when generating CSV into a String with an Encoding
that is not ASCII compatible. There's no existing data for CSV to use to
prep...