911件ヒット
[1-100件を表示]
(0.110秒)
種類
ライブラリ
- ビルトイン (465)
- csv (22)
- fileutils (248)
- kconv (22)
-
rake
/ packagetask (11) -
rubygems
/ dependency _ installer (22) -
rubygems
/ installer (11) -
win32
/ registry (22)
クラス
- CSV (22)
- Encoding (22)
-
Encoding
:: Converter (55) -
Enumerator
:: Lazy (302) -
Gem
:: DependencyInstaller (22) -
Gem
:: Installer (11) -
RDoc
:: Options (33) -
Rake
:: PackageTask (11) - Regexp (11)
- String (53)
モジュール
- Enumerable (11)
- FileUtils (237)
-
Gem
:: InstallUpdateOptions (11) - Kconv (11)
-
Win32
:: Registry :: Constants (22)
キーワード
-
DEFAULT
_ OPTIONS (22) - FileUtils (11)
- InvalidByteSequenceError (11)
- Lazy (11)
-
REG
_ NO _ LAZY _ FLUSH (11) -
REG
_ WHOLE _ HIVE _ VOLATILE (11) - chunk (22)
- collect (11)
-
collect
_ concat (11) - compatible? (11)
-
cp
_ lr (6) -
cp
_ r (11) - drop (11)
-
drop
_ while (11) - filter (6)
-
filter
_ map (5) -
find
_ all (11) -
fixed
_ encoding? (11) -
flat
_ map (11) -
force
_ encoding (11) -
force
_ output (11) -
force
_ output= (11) -
force
_ quotes? (11) -
force
_ update (11) - grep (11)
-
grep
_ v (9) -
insert
_ output (11) -
install
_ update _ defaults _ str (11) - iseuc (11)
- isjis (11)
- lazy (11)
- link (11)
- ln (11)
-
ln
_ s (11) -
ln
_ sf (11) - map (11)
- move (11)
- mv (11)
- new (44)
-
primitive
_ convert (44) -
rb
_ gc _ force _ recycle (11) - reject (11)
- remove (11)
-
remove
_ dir (11) -
remove
_ entry (11) -
remove
_ entry _ secure (11) -
remove
_ file (11) - replicate (11)
- rm (11)
-
rm
_ f (11) -
rm
_ r (11) -
rm
_ rf (11) - rmtree (11)
-
ruby 1
. 8 . 2 feature (11) -
rubygems
/ commands / install _ command (11) -
rubygems
/ commands / uninstall _ command (11) -
safe
_ unlink (11) - select (11)
-
slice
_ after (20) -
slice
_ before (33) -
slice
_ when (10) - symlink (11)
- take (11)
-
take
_ while (22) -
unicode
_ normalize (10) -
unicode
_ normalized? (10) -
valid
_ encoding? (11) -
with
_ index (10) - zip (22)
検索結果
先頭5件
-
Enumerator
:: Lazy # force(*args) -> [object] (21107.0) -
全ての要素を含む配列を返します。Lazy から実際に値を取り出すのに使います。
...全ての要素を含む配列を返します。Lazy から実際に値を取り出すのに使います。
Enumerable#to_a のエイリアスです。
//emlist[例][ruby]{
1.step.lazy.take(10).force
# => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
1.step.lazy.take(10).to_a
# => [1, 2, 3, 4, 5, 6, 7, 8, 9,... -
void rb
_ gc _ force _ recycle(VALUE p) (12200.0) -
p を強制的に GC します。
p を強制的に GC します。 -
FileUtils
. # remove _ file(path , force = false) -> () (9207.0) -
ファイル path を削除します。
...ファイル path を削除します。
@param path 削除するファイル。
@param force 真のときは削除中に発生した StandardError を無視します。... -
Win32
:: Registry :: Constants :: REG _ WHOLE _ HIVE _ VOLATILE (9201.0) -
@todo
@todo -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (9106.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
...Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers... -
RDoc
:: Options # force _ output -> bool (6233.0) -
コマンドライン引数の --force_output オプションを指定していた場合、true を返します。--no-force_output オプションを指定していた場合、false を返 します。
...コマンドライン引数の --force_output オプションを指定していた場合、true
を返します。--no-force_output オプションを指定していた場合、false を返
します。
どちらも指定しなかった場合は true を返します。... -
CSV
# force _ quotes? -> bool (6225.0) -
出力される全てのフィールドがクオートされる場合は、真を返します。
...す。
//emlist[例][ruby]{
require "csv"
rows = [["header1", "header2"], ["row1_1,", "row1_2"]]
result = CSV.generate(force_quotes: false) do |csv|
rows.each { |row| csv << row }
csv.force_quotes? # => false
end
print result
# => header1,header2
# "row1_1,",row1_2
//}
//emlist[例][ruby]......{
require "csv"
rows = [["header1", "header2"], ["row1_1,", "row1_2"]]
result = CSV.generate(force_quotes: true) do |csv|
rows.each { |row| csv << row }
csv.force_quotes? # => true
end
print result
# => true
# => "header1","header2"
# "row1_1,","row1_2"
//}
@see CSV.new... -
String
# force _ encoding(encoding) -> self (6225.0) -
文字列の持つエンコーディング情報を指定された encoding に変えます。
...//emlist[例][ruby]{
s = [164, 164, 164, 237, 164, 207].pack("C*")
p s.encoding #=> ASCII-8BIT
p s.force_encoding("EUC-JP") #=> "いろは"
p s.force_encoding(Encoding::EUC_JP) #=> "いろは"
u = [12411, 12408, 12392].pack("U*")
u.force_en......coding("UTF-8") #=> "ほへと"
u.force_encoding(Encoding::UTF_8) #=> "ほへと"
//}... -
RDoc
:: Options # force _ output=(val) (6223.0) -
val に true を指定した場合、コマンドライン引数の --force_output オプショ ンと同様の指定を行います。
...val に true を指定した場合、コマンドライン引数の --force_output オプショ
ンと同様の指定を行います。
@param val --force_output オプションと同じ指定を行う場合は true、そうで
ない場合は false を指定します。... -
FileUtils
. # safe _ unlink(list , options = {}) -> () (6222.0) -
FileUtils.rm(list, force: true) と同じです。
...FileUtils.rm(list, force: true) と同じです。
c:FileUtils#options
@param list 削除する対象。一つの場合は文字列も指定可能です。
二つ以上指定する場合は配列で指定します。
@param options :noop, :verbose が指定できます。......:force がセットされた場合は作業中すべての StandardError を無視します。
@see FileUtils.#rm...