170件ヒット
[101-170件を表示]
(0.074秒)
ライブラリ
- ビルトイン (12)
-
net
/ ftp (20) - pathname (60)
- rake (12)
-
rubygems
/ indexer (24) -
rubygems
/ installer (12) -
rubygems
/ package / tar _ reader / entry (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6)
クラス
-
File
:: Stat (12) -
Gem
:: Indexer (24) -
Gem
:: Installer (12) -
Gem
:: Package :: TarReader :: Entry (12) -
Net
:: FTP :: MLSxEntry (20) - Pathname (60)
- Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6)
モジュール
- Kernel (12)
キーワード
- children (12)
-
dest
_ directory (12) - directory? (64)
-
directory
_ makable? (10) -
each
_ child (24) -
relative
_ path _ from (12) - unpack (12)
検索結果
先頭5件
-
Net
:: FTP :: MLSxEntry # directory _ makable? -> bool (12202.0) -
ディレクトリを作成可能ならば true を返します。
ディレクトリを作成可能ならば true を返します。
Net::FTP#mkdir でディレクトリを作成可能かどうかを意味します。 -
Pathname
# relative _ path _ from(base _ directory) -> Pathname (242.0) -
base_directory から self への相対パスを求め、その内容の新しい Pathname オブジェクトを生成して返します。
...se_directory から self への相対パスを求め、その内容の新しい Pathname
オブジェクトを生成して返します。
パス名の解決は文字列操作によって行われ、ファイルシステムをアクセス
しません。
self が相対パスなら base_directory......が絶対パスなら
base_directory も絶対パスでなければなりません。
@param base_directory ベースディレクトリを表す Pathname オブジェクトを指定します。
@raise ArgumentError Windows上でドライブが違うなど、base_directory から self への相対... -
Pathname
# each _ child(with _ directory = true) -> Enumerator (225.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] (225.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... -
Gem
:: Installer # unpack(directory) (208.0) -
与えられたディレクトリに Gem を展開します。
...与えられたディレクトリに Gem を展開します。
@param directory Gem を展開するディレクトリを指定します。... -
Pathname
# children(with _ directory = true) -> [Pathname] (208.0) -
self 配下にあるパス名(Pathnameオブジェクト)の配列を返します。
...にあるパス名(Pathnameオブジェクト)の配列を返します。
ただし、 ".", ".." は要素に含まれません。
@param with_directory 偽を指定するとファイル名のみ返します。デフォルトは真です。
@raise Errno::EXXX self が存在しないパスであ...