種類
ライブラリ
- ビルトイン (570)
- csv (36)
- fileutils (271)
- kconv (24)
-
rake
/ packagetask (12) -
rubygems
/ dependency _ installer (24) -
rubygems
/ installer (12) - socket (24)
-
win32
/ registry (48)
クラス
- CSV (36)
- Encoding (24)
-
Encoding
:: Converter (72) -
Enumerator
:: Lazy (332) -
Gem
:: DependencyInstaller (24) -
Gem
:: Installer (12) -
RDoc
:: Options (36) -
Rake
:: PackageTask (12) - Regexp (12)
- Socket (12)
- String (94)
モジュール
- Enumerable (12)
- FileUtils (259)
-
Gem
:: InstallUpdateOptions (12) - Kconv (12)
-
Socket
:: Constants (12) -
Win32
:: Registry :: Constants (48)
キーワード
-
DEFAULT
_ OPTIONS (24) - FileUtils (12)
-
IP
_ ONESBCAST (24) - InvalidByteSequenceError (12)
- Lazy (12)
-
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 1 . 0 (4) -
REG
_ FORCE _ RESTORE (12) -
REG
_ NO _ LAZY _ FLUSH (12) -
REG
_ REFRESH _ HIVE (12) -
REG
_ WHOLE _ HIVE _ VOLATILE (12) - String (12)
- chunk (24)
- collect (12)
-
collect
_ concat (12) - compatible? (12)
- convert (12)
-
cp
_ lr (7) -
cp
_ r (12) - drop (12)
-
drop
_ while (12) - encode (36)
- filter (7)
-
filter
_ map (6) -
find
_ all (12) -
fixed
_ encoding? (12) -
flat
_ map (12) -
force
_ encoding (12) -
force
_ output (12) -
force
_ output= (12) -
force
_ quotes? (12) -
force
_ update (12) - grep (12)
-
grep
_ v (10) -
insert
_ output (12) -
install
_ update _ defaults _ str (12) - iseuc (12)
- isjis (12)
- lazy (12)
- link (12)
- ln (12)
-
ln
_ s (12) -
ln
_ sf (12) - map (12)
- move (12)
- mv (12)
- new (60)
-
primitive
_ convert (48) -
rb
_ gc _ force _ recycle (12) - rdoc (12)
- reject (12)
- remove (12)
-
remove
_ dir (12) -
remove
_ entry (12) -
remove
_ entry _ secure (12) -
remove
_ file (12) - replicate (12)
- rm (12)
-
rm
_ f (12) -
rm
_ r (12) -
rm
_ rf (12) - rmtree (12)
-
ruby 1
. 8 . 2 feature (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / uninstall _ command (12) -
safe
_ unlink (12) - select (12)
-
slice
_ after (22) -
slice
_ before (36) -
slice
_ when (11) - symlink (12)
- take (12)
-
take
_ while (24) -
unicode
_ normalize (11) -
unicode
_ normalized? (11) -
valid
_ encoding? (12) -
with
_ index (12) - zip (24)
- 多言語化 (12)
検索結果
先頭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