325件ヒット
[1-100件を表示]
(0.120秒)
ライブラリ
- ビルトイン (31)
- csv (12)
- pathname (12)
- rake (24)
-
rdoc
/ context (12) -
rubygems
/ specification (144) - shell (30)
-
shell
/ command-processor (30) -
shell
/ filter (30)
クラス
- Binding (7)
- CSV (12)
- File (12)
-
Gem
:: Specification (144) - IO (12)
- Pathname (12)
-
RDoc
:: Context (12) -
Rake
:: Application (24) - Shell (30)
-
Shell
:: CommandProcessor (30) -
Shell
:: Filter (30)
キーワード
-
close
_ on _ exec= (12) - echo (18)
-
extra
_ rdoc _ files (12) -
extra
_ rdoc _ files= (12) -
file
_ name (12) - files (12)
- files= (12)
- glob (18)
-
lib
_ files (12) -
load
_ rakefile (12) - rakefile (12)
-
record
_ location (12) -
source
_ location (7) - tee (18)
-
test
_ file (12) -
test
_ file= (12) -
test
_ files (12) -
test
_ files= (12) -
test
_ suite _ file (12) -
test
_ suite _ file= (12) - truncate (54)
検索結果
先頭5件
-
Shell
# cat(*files) -> Shell :: Filter (18238.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...m files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(file... -
Shell
:: CommandProcessor # cat(*files) -> Shell :: Filter (18238.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...m files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(file... -
Shell
:: Filter # cat(*files) -> Shell :: Filter (18238.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...m files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(file... -
File
# truncate(length) -> 0 (15107.0) -
ファイルのサイズを最大 length バイトにします。
...書き込み用にオープンされていなければ発生します。
@raise Errno::EXXX サイズの変更に失敗した場合に発生します。
//emlist[例][ruby]{
IO.write("testfile", "1234567890")
File.open("testfile", "a") do |f|
f.truncate(5) # => 0
f.size # => 5
end
//}... -
Gem
:: Specification # test _ suite _ file=(file) (9209.0) -
この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
...この属性は非推奨です。 Gem::Specification#test_files= を使用してください。
@param file テストスイートのファイルを指定します。... -
Gem
:: Specification # test _ file=(file) (9203.0) -
Gem::Specification#test_files= の単数バージョンです。
...Gem::Specification#test_files= の単数バージョンです。... -
Gem
:: Specification # files=(files) (9201.0) -
この Gem パッケージに含まれるファイル名の配列をセットします。
...この Gem パッケージに含まれるファイル名の配列をセットします。
@param files この Gem パッケージに含まれるファイル名の配列を指定します。... -
Gem
:: Specification # test _ files=(files) (9201.0) -
ユニットテストのファイルのリストをセットします。
...ユニットテストのファイルのリストをセットします。
@param files ユニットテストのファイルのリストを指定します。... -
Gem
:: Specification # file _ name -> String (9102.0) -
生成される Gem パッケージの名前を返します。
生成される Gem パッケージの名前を返します。 -
Gem
:: Specification # test _ file -> String (9102.0) -
Gem::Specification#test_files の単数バージョンです。
...Gem::Specification#test_files の単数バージョンです。...