種類
ライブラリ
- ビルトイン (520)
- csv (33)
- fileutils (248)
- kconv (22)
-
rake
/ packagetask (11) -
rubygems
/ dependency _ installer (22) -
rubygems
/ installer (11) - socket (22)
-
win32
/ registry (44)
クラス
- CSV (33)
- Encoding (22)
-
Encoding
:: Converter (66) -
Enumerator
:: Lazy (302) -
Gem
:: DependencyInstaller (22) -
Gem
:: Installer (11) -
RDoc
:: Options (33) -
Rake
:: PackageTask (11) - Regexp (11)
- Socket (11)
- String (86)
モジュール
- Enumerable (11)
- FileUtils (237)
-
Gem
:: InstallUpdateOptions (11) - Kconv (11)
-
Socket
:: Constants (11) -
Win32
:: Registry :: Constants (44)
キーワード
-
DEFAULT
_ OPTIONS (22) - FileUtils (11)
-
IP
_ ONESBCAST (22) - InvalidByteSequenceError (11)
- Lazy (11)
-
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 1 . 0 (3) -
REG
_ FORCE _ RESTORE (11) -
REG
_ NO _ LAZY _ FLUSH (11) -
REG
_ REFRESH _ HIVE (11) -
REG
_ WHOLE _ HIVE _ VOLATILE (11) - String (11)
- chunk (22)
- collect (11)
-
collect
_ concat (11) - compatible? (11)
- convert (11)
-
cp
_ lr (6) -
cp
_ r (11) - drop (11)
-
drop
_ while (11) - encode (33)
- 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 (55)
-
primitive
_ convert (44) -
rb
_ gc _ force _ recycle (11) - rdoc (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)
- 多言語化 (11)
検索結果
先頭5件
-
Enumerator
:: Lazy # force(*args) -> [object] (18107.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, 10]
//}... -
RDoc
:: Options # force _ output -> bool (6133.0) -
コマンドライン引数の --force_output オプションを指定していた場合、true を返します。--no-force_output オプションを指定していた場合、false を返 します。
...コマンドライン引数の --force_output オプションを指定していた場合、true
を返します。--no-force_output オプションを指定していた場合、false を返
します。
どちらも指定しなかった場合は true を返します。... -
CSV
# force _ quotes? -> bool (6125.0) -
出力される全てのフィールドがクオートされる場合は、真を返します。
...V.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: tr......ue) 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 (6125.0) -
文字列の持つエンコーディング情報を指定された encoding に変えます。
...#=> ASCII-8BIT
p s.force_encoding("EUC-JP") #=> "いろは"
p s.force_encoding(Encoding::EUC_JP) #=> "いろは"
u = [12411, 12408, 12392].pack("U*")
u.force_encoding("UTF-8") #=> "ほへと"
u.force_encoding(Encoding::UTF_8)... -
RDoc
:: Options # force _ output=(val) (6123.0) -
val に true を指定した場合、コマンドライン引数の --force_output オプショ ンと同様の指定を行います。
...val に true を指定した場合、コマンドライン引数の --force_output オプショ
ンと同様の指定を行います。
@param val --force_output オプションと同じ指定を行う場合は true、そうで
ない場合は false を指定します。... -
RDoc
:: Options # force _ update -> bool (6117.0) -
コマンドライン引数の --force_update を指定していた場合に true を返しま す。そうでない場合は false を返します。
...コマンドライン引数の --force_update を指定していた場合に true を返しま
す。そうでない場合は false を返します。... -
Win32
:: Registry :: Constants :: REG _ FORCE _ RESTORE (6101.0) -
@todo
@todo -
void rb
_ gc _ force _ recycle(VALUE p) (6100.0) -
p を強制的に GC します。
p を強制的に GC します。 -
Win32
:: Registry :: Constants :: REG _ NO _ LAZY _ FLUSH (3001.0) -
@todo
@todo -
Win32
:: Registry :: Constants :: REG _ REFRESH _ HIVE (3001.0) -
@todo
@todo