862件ヒット
[1-100件を表示]
(0.096秒)
ライブラリ
- ビルトイン (159)
-
cgi
/ session (22) -
cgi
/ session / pstore (11) - fileutils (220)
- open3 (22)
- psych (22)
- rake (22)
-
rake
/ packagetask (11) -
rdoc
/ generator / json _ index (11) -
rubygems
/ dependency _ installer (11) -
rubygems
/ ext / configure _ builder (11) -
rubygems
/ ext / ext _ conf _ builder (11) -
rubygems
/ ext / rake _ builder (11) -
rubygems
/ installer (11) -
rubygems
/ package / tar _ writer (11) -
rubygems
/ security (11) -
rubygems
/ specification (22) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) - tempfile (50)
-
webrick
/ httpserver (11)
クラス
-
CGI
:: Session (11) -
CGI
:: Session :: FileStore (11) -
CGI
:: Session :: PStore (11) - Dir (18)
- File (55)
-
Gem
:: DependencyInstaller (11) -
Gem
:: Ext :: ConfigureBuilder (11) -
Gem
:: Ext :: ExtConfBuilder (11) -
Gem
:: Ext :: RakeBuilder (11) -
Gem
:: Installer (11) -
Gem
:: Package :: TarWriter (11) -
Gem
:: Specification (22) - IO (20)
-
Psych
:: Handler (11) -
Psych
:: Nodes :: Document (11) -
RDoc
:: Generator :: JsonIndex (11) -
RDoc
:: Options (44) -
Rake
:: Application (11) -
Rake
:: PackageTask (11) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) - Tempfile (50)
-
WEBrick
:: HTTPServer (11)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) -
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) -
NEWS for Ruby 3
. 0 . 0 (4) - ReFe (11)
-
add
_ bindir (11) -
add
_ trusted _ cert (11) - application (11)
- bindir (11)
- blockdev? (11)
- build (33)
- cd (22)
- chardev? (11)
- chdir (22)
- chown (11)
-
chown
_ R (11) -
cp
_ r (11) - create (20)
- delete (11)
- directory? (40)
- dump (22)
- empty? (8)
- fileno (20)
- fnmatch (11)
- fnmatch? (11)
-
ln
_ s (11) - makedirs (11)
- mkdir (22)
-
mkdir
_ p (11) - mkpath (11)
- mount (11)
- move (11)
- mv (11)
- new (98)
-
op
_ dir (11) - open (20)
-
original
_ dir (11) -
page
_ dir (11) -
page
_ dir= (11) - popen3 (22)
- remove (11)
- rm (11)
-
rm
_ r (11) - rmdir (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
start
_ document (11) - symlink (11)
-
template
_ dir (11) -
test
/ unit (1) -
to
_ i (10) - touch (11)
- unlink (11)
- セキュリティモデル (11)
検索結果
先頭5件
-
IO (38480.0)
-
基本的な入出力機能のためのクラスです。
...基本的な入出力機能のためのクラスです。
File::Constants は、File から IO へ移動しました。
===[a:m17n] 多言語化と IO のエンコーディング
IO オブジェクトはエンコーディングを持ちます。
エンコーディングの影響を受けるメ......* IO.readlines
* IO#each_line
* IO#lines
* IO#gets
* IO#getc
* IO#ungetc
* IO#read
* IO#readchar
* IO#readline
* IO#readlines
バイナリ読み込みメソッドは IO のエンコーディングの影響を受けません。
返す文字列のエンコーディングは常に ASCII-8BI......ステムコールに渡されます。
Dir.glob, Dir.foreach などが返すファイル名のエンコーディングも同様にプラットフォーム依存です。
UNIX では ASCII-8BIT です。
====[a:io_binmode] バイナリモード
Windows の IO にはテキストモードとバイ......* IO.foreach
* IO.readlines
* IO#each_line
* IO#gets
* IO#getc
* IO#ungetc
* IO#read
* IO#readchar
* IO#readline
* IO#readlines
バイナリ読み込みメソッドは IO のエンコーディングの影響を受けません。
返す文字列のエンコーディングは常に ASCII-8B... -
IO
# fileno -> Integer (21106.0) -
ファイル記述子を表す整数を返します。
...ファイル記述子を表す整数を返します。
@raise IOError 既に close されている場合に発生します。
//emlist[例][ruby]{
$stdin.fileno # => 0
$stdout.fileno # => 1
//}
@see Dir#fileno... -
IO
# to _ i -> Integer (21106.0) -
ファイル記述子を表す整数を返します。
...ファイル記述子を表す整数を返します。
@raise IOError 既に close されている場合に発生します。
//emlist[例][ruby]{
$stdin.fileno # => 0
$stdout.fileno # => 1
//}
@see Dir#fileno... -
RDoc
:: Options # page _ dir -> Pathname | nil (9233.0) -
コマンドライン引数の --page-dir オプションで指定したディレクトリを返し ます。
...コマンドライン引数の --page-dir オプションで指定したディレクトリを返し
ます。
指定されていない場合は nil を返します。... -
RDoc
:: Options # op _ dir -> String (9213.0) -
コマンドライン引数の --op オプションで指定したディレクトリを返します。
...コマンドライン引数の --op オプションで指定したディレクトリを返します。
--ri、--ri-site、--ri-system オプションにも影響される事に注意してください。
@return 設定されたディレクトリを文字列で返します。... -
Rake
:: Application # original _ dir -> String (9213.0) -
rake コマンドを実行したディレクトリを返します。
...rake コマンドを実行したディレクトリを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.original_dir # => "/path/to/dir"
end
//}... -
RDoc
:: Options # template _ dir -> String | nil (9201.0) -
コマンドライン引数の --template オプションで指定したテンプレートに対応 するディレクトリを返します。
...コマンドライン引数の --template オプションで指定したテンプレートに対応
するディレクトリを返します。
オプションの解析前は nil を返します。... -
Gem
:: Specification # add _ bindir(executables) -> Array | nil (9200.0) -
実行コマンドの格納場所を返します。
実行コマンドの格納場所を返します。
@param executables 実行コマンド名を格納した配列を指定します。 -
Gem
:: Specification # bindir -> String (9200.0) -
実行ファイルを格納するディレクトリを返します。
実行ファイルを格納するディレクトリを返します。 -
Dir
. empty?(path _ name) -> bool (9142.0) -
path_name で与えられたディレクトリが空の場合に真を返します。 ディレクトリでない場合や空でない場合に偽を返します。
...す。
ディレクトリでない場合や空でない場合に偽を返します。
//emlist[例][ruby]{
Dir.empty?('.') #=> false
Dir.empty?(IO::NULL) #=> false
require 'tmpdir'
Dir.mktmpdir { |dir| Dir.empty?(dir) } #=> true
//}
@param path_name 確認したいディレクトリ名。...