1135件ヒット
[201-300件を表示]
(0.110秒)
ライブラリ
- ビルトイン (132)
- csv (12)
- digest (12)
-
irb
/ cmd / load (12) - mkmf (12)
-
net
/ ftp (20) -
net
/ http (120) - openssl (24)
- pathname (443)
- rake (36)
-
rubygems
/ config _ file (24) -
rubygems
/ gem _ path _ searcher (24) -
rubygems
/ remote _ fetcher (24) -
rubygems
/ require _ paths _ builder (12) -
rubygems
/ source _ info _ cache (12) -
rubygems
/ specification (12) -
rubygems
/ validator (12) - shell (42)
-
shell
/ command-processor (42) -
shell
/ filter (36) - tempfile (60)
- zlib (12)
クラス
-
ARGF
. class (12) - CSV (12)
-
Digest
:: Base (12) - File (24)
-
File
:: Stat (24) -
Gem
:: ConfigFile (24) -
Gem
:: GemPathSearcher (24) -
Gem
:: RemoteFetcher (24) -
Gem
:: SourceInfoCache (12) -
Gem
:: Specification (12) -
Gem
:: Validator (12) - IO (36)
-
IRB
:: ExtendCommand :: Load (12) - LoadError (12)
-
Net
:: FTP (20) -
Net
:: HTTP (72) -
Net
:: HTTPGenericRequest (24) -
Net
:: HTTPResponse (24) -
OpenSSL
:: SSL :: SSLContext (24) - Pathname (443)
-
Rake
:: FileList (12) -
RubyVM
:: InstructionSequence (24) - Shell (42)
-
Shell
:: CommandProcessor (42) -
Shell
:: Filter (36) - String (12)
- Tempfile (60)
-
Zlib
:: GzipFile (12)
モジュール
- FileUtils (12)
-
Gem
:: RequirePathsBuilder (12) - Kernel (12)
キーワード
- <=> (12)
-
absolute
_ path (12) - ascend (24)
- atime (12)
- basename (12)
- birthtime (11)
-
body
_ stream (12) -
body
_ stream= (12) -
ca
_ file= (12) -
cert
_ store= (24) - chmod (12)
- chown (12)
- cleanpath (12)
- close (12)
- close! (12)
-
create
_ makefile (12) - ctime (12)
- delete (12)
- descend (24)
- dirname (12)
-
each
_ filename (12) - execute (12)
- extname (12)
-
extra
_ rdoc _ files= (12) - file? (12)
- fnmatch (12)
- fnmatch? (12)
- foreach (18)
- ftype (12)
- get (24)
-
get
_ file _ uri _ path (12) - lchmod (12)
- lchown (12)
- lstat (12)
-
make
_ link (12) -
make
_ symlink (12) -
matching
_ file? (12) -
matching
_ files (12) - mlsd (20)
- mtime (12)
- open (42)
-
open
_ uri _ or _ path (12) - path= (12)
- pathmap (24)
- post (24)
-
read
_ body (24) - readlink (30)
- realpath (24)
- rename (12)
- reopen (36)
-
set
_ params (12) - size? (12)
- split (30)
-
split
_ all (12) - stat (12)
-
to
_ path (24) -
to
_ s (12) - truncate (42)
-
try
_ file (12) - unlink (30)
- utime (12)
-
verify
_ gem _ file (12) -
write
_ require _ paths _ file _ if _ needed (12)
検索結果
先頭5件
-
Shell
:: CommandProcessor # expand _ path(path) -> String (15537.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...
Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Gem
:: ConfigFile # path=(path) (15403.0) -
Gem を探索するパスをセットします。
Gem を探索するパスをセットします。 -
Rake
:: FileList # pathmap(spec = nil) -> Rake :: FileList (15313.0) -
各要素に String#pathmap を適用した新しい Rake::FileList を返します。
...各要素に String#pathmap を適用した新しい Rake::FileList を返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
file_list = FileList.new("test1.rb", "test2.rb", "test3.rb")
file_list.pathmap("%n") # => ["test1",......"test2", "test3"]
end
//}
@see String#pathmap... -
Gem
:: GemPathSearcher # matching _ files(spec , path) -> [String] (12340.0) -
与えられた spec に path が含まれている場合、その path のリストを返します。
...与えられた spec に path が含まれている場合、その path のリストを返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。... -
Gem
:: GemPathSearcher # matching _ file?(spec , path) -> bool (12325.0) -
与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。
...与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。
@param spec Gem::Specification のインスタンスを指定します。
@param path 探索対象のパスを指定します。... -
Gem
:: RemoteFetcher # open _ uri _ or _ path(uri , last _ modified = nil , head = false , depth = 0) -> StringIO | File (12303.0) -
@param uri URI を指定します。
...@param uri URI を指定します。
@param last_modified 最終更新時刻を指定します。
@param head 真を指定するとヘッダ情報のみ取得します。
@param depth 現在のリダイレクト回数を指定します。
@raise Gem::RemoteFetcher::FetchError デフォルトで......は 11 回リダイレクトした場合に発生します。
depth を指定すると 10 - depth 回より多くリダイレクトした場合にこの例外が発生するようになります。
また HTTP のレスポンスが想定外のものの場合にも発生します。... -
String
# pathmap(spec = nil) { . . . } -> String (12249.0) -
与えられた書式指定文字列に応じてパス(自身)を変換します。
...。
与えられた書式指定文字列は変換の詳細を制御します。
指定できる書式指定文字列は以下の通りです。
: %p
完全なパスを表します。
: %f
拡張子付きのファイル名を表します。ディレクトリ名は含まれません。
: %n......ます。
%d は数値のプレフィクスを取ることができます。
例:
'a/b/c/d/file.txt'.pathmap("%2d") # => 'a/b'
'a/b/c/d/file.txt'.pathmap("%-2d") # => 'c/d'
また、%d, %p, %f, %n, %x, %X には単純な文字列置換を行うための
置換パターンを表すパラ......例:
"src/org/onestepback/proj/A.java".pathmap("%{^src,bin}X.class")
#=> "bin/org/onestepback/proj/A.class"
置換文字列に '*' を指定した場合は、置換文字列を計算するためにブロックを評価します。
例:
"/path/to/file.TXT".pathmap("%X%{.*,*}x") { |ext|... -
RubyVM
:: InstructionSequence # absolute _ path -> String | nil (12232.0) -
self が表す命令シーケンスの絶対パスを返します。
...compile('num = 1 + 2')
# => <RubyVM::InstructionSequence:<compiled>@<compiled>>
iseq.absolute_path
# => nil
例2: RubyVM::InstructionSequence.compile_file を使用した場合
# /tmp/method.rb
def hello
puts "hello, world"
end
# irb
> iseq = RubyVM::InstructionSequence.compil......e_file('/tmp/method.rb')
> iseq.absolute_path # => "/tmp/method.rb"
@see RubyVM::InstructionSequence#path... -
Pathname
# file? -> bool (12124.0) -
FileTest.file?(self.to_s) と同じです。
...FileTest.file?(self.to_s) と同じです。
@see FileTest.#file?...