302件ヒット
[201-300件を表示]
(0.073秒)
ライブラリ
- ビルトイン (60)
- matrix (24)
-
net
/ ftp (20) - pathname (60)
- psych (36)
- rake (12)
-
rubygems
/ indexer (36) -
rubygems
/ installer (12) -
rubygems
/ package / tar _ reader / entry (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
webrick
/ httpresponse (12)
クラス
- Complex (24)
-
File
:: Stat (12) -
Gem
:: Indexer (36) -
Gem
:: Installer (12) -
Gem
:: Package :: TarReader :: Entry (12) - Matrix (24)
-
Net
:: FTP :: MLSxEntry (20) - Numeric (24)
- Pathname (60)
-
Psych
:: Handler (12) -
Psych
:: Nodes :: Document (24) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
WEBrick
:: HTTPResponse (12)
モジュール
- Kernel (12)
キーワード
- children (12)
-
dest
_ directory (12) - directory (24)
- directory? (64)
-
directory
_ makable? (10) -
each
_ child (24) -
make
_ temp _ directories (12) - rectangular (36)
-
relative
_ path _ from (12) -
set
_ redirect (12) -
start
_ document (12) -
tag
_ directives (12) -
tag
_ directives= (12) - unpack (12)
検索結果
先頭5件
-
Shell
# directory?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
:: CommandProcessor # directory?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
:: Filter # directory?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
WEBrick
:: HTTPResponse # set _ redirect(status , url) -> () (6101.0) -
指定された url にリダイレクトするためのヘッダと内容(エンティティボディ)を 設定し例外 status を発生させます。
...ためのヘッダと内容(エンティティボディ)を
設定し例外 status を発生させます。
@param status WEBrick::HTTPStatus::Redirect を指定します。
@param url URL を指定します。
例:
require 'webrick'
res.set_redirect WEBrick::HTTPStatus::TemporaryRedirect... -
Gem
:: Installer # unpack(directory) (101.0) -
与えられたディレクトリに Gem を展開します。
...与えられたディレクトリに Gem を展開します。
@param directory Gem を展開するディレクトリを指定します。... -
Pathname
# children(with _ directory = true) -> [Pathname] (101.0) -
self 配下にあるパス名(Pathnameオブジェクト)の配列を返します。
...にあるパス名(Pathnameオブジェクト)の配列を返します。
ただし、 ".", ".." は要素に含まれません。
@param with_directory 偽を指定するとファイル名のみ返します。デフォルトは真です。
@raise Errno::EXXX self が存在しないパスであ... -
Pathname
# each _ child(with _ directory = true) -> Enumerator (101.0) -
self.children(with_directory).each と同じです。
...self.children(with_directory).each と同じです。
@param with_directory 偽を指定するとファイル名のみ返します。デフォルトは真です。
//emlist[例][ruby]{
require "pathname"
Pathname("/usr/local").each_child {|f| p f }
# => #<Pathname:/usr/local/bin>
# => #<Pathname... -
Pathname
# each _ child(with _ directory = true) {|pathname| . . . } -> [Pathname] (101.0) -
self.children(with_directory).each と同じです。
...self.children(with_directory).each と同じです。
@param with_directory 偽を指定するとファイル名のみ返します。デフォルトは真です。
//emlist[例][ruby]{
require "pathname"
Pathname("/usr/local").each_child {|f| p f }
# => #<Pathname:/usr/local/bin>
# => #<Pathname... -
Pathname
# relative _ path _ from(base _ directory) -> Pathname (101.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
...ase_directory から self への相対パスを求め、その内容の新しい Pathname
オブジェクトを生成して返します。
パス名の解決は文字列操作によって行われ、ファイルシステムをアクセス
しません。
self が相対パスなら base_directory......が絶対パスなら
base_directory も絶対パスでなければなりません。
@param base_directory ベースディレクトリを表す Pathname オブジェクトを指定します。
@raise ArgumentError Windows上でドライブが違うなど、base_directory から self への相対... -
Psych
:: Handler # start _ document(version , tag _ directives , implicit) -> () (101.0) -
YAML ドキュメントの始まりで呼び出されます。
...バージョンが
[major, minor] という配列で渡されます。宣言がない場合は空の配列が渡されます。
tag_directives には tag directive の配列が渡されます。
それぞれの tag は [prefix, suffix] という配列で表現されます。
implicit にはドキ......で渡されます。
必要に応じてこのメソッドを override してください。
@param version バージョン
@param tag_directives tag directive の配列
@param implicit ドキュメントが implicit に始まっているかどうか
=== 例
以下の YAML に対しては
%YA......version # => [1, 1]
tag_directives # => tenderlovemaking.com,2009:"
implicit # => false
以下の YAML に対しては
- x
- y
start_document に渡される引数は以下の通りです。
version # => []
tag_directives # => []
implicit # => true...