るりまサーチ

最速Rubyリファレンスマニュアル検索!
1207件ヒット [201-300件を表示] (0.096秒)

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file atime
  4. file open

モジュール

キーワード

検索結果

<< < 1 2 3 4 5 ... > >>

Gem::GemPathSearcher#matching_file?(spec, path) -> bool (9225.0)

与えられた spec に path が含まれている場合、真を返します。 そうでない場合は偽を返します。

...与えられた spec に path が含まれている場合、真を返します。
そうでない場合は偽を返します。

@param spec Gem::Specification のインスタンスを指定します。

@param path 探索対象のパスを指定します。...

Rake::FileList#pathmap(spec = nil) -> Rake::FileList (9213.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::ConfigFile#path=(path) (9203.0)

Gem を探索するパスをセットします。

Gem を探索するパスをセットします。

Pathname#file? -> bool (9124.0)

FileTest.file?(self.to_s) と同じです。

...FileTest.file?(self.to_s) と同じです。


@see FileTest.#file?...

Pathname#to_path -> String (9118.0)

File.open などの引数に渡す際に呼ばれるメソッドです。 Pathname オブジェ クトにおいては、 to_s と同じです。

...File.open などの引数に渡す際に呼ばれるメソッドです。 Pathname オブジェ
クトにおいては、 to_s と同じです。


@see Pathname#to_s...

絞り込み条件を変える

Pathname#each_filename {|v| ... } -> nil (9101.0)

self のパス名要素毎にブロックを実行します。

...self のパス名要素毎にブロックを実行します。

//emlist[例][ruby]{
require 'pathname'

Path
name.new("/foo/../bar").each_filename {|v| p v}

# => "foo"
# ".."
# "bar"
//}...

Shell#expand_path(path) -> String (6237.0)

Fileクラスにある同名のクラスメソッドと同じです.

...
File
クラスにある同名のクラスメソッドと同じです.

@param path ファイル名を表す文字列を指定します。

@see File.expand_path...

Shell::CommandProcessor#expand_path(path) -> String (6237.0)

Fileクラスにある同名のクラスメソッドと同じです.

...
File
クラスにある同名のクラスメソッドと同じです.

@param path ファイル名を表す文字列を指定します。

@see File.expand_path...

Net::HTTP#ca_file=(path) (6227.0)

信頼する CA 証明書ファイルのパスを文字列で設定します。

...ファイルには複数の証明書を含んでいても構いません。
詳しくは OpenSSL::SSL::SSLContext#ca_file= を見てください。

デフォルトは nil (指定なし)です。

@param path ファイルパス文字列
@see Net::HTTP#ca_file, OpenSSL::SSL::SSLContext#ca_file=...

Gem::SourceInfoCache#try_file(path) -> String | nil (6209.0)

与えられたパスがキャッシュファイルとして利用可能な場合、そのパスを返します。 そうでない場合は nil を返します。

...与えられたパスがキャッシュファイルとして利用可能な場合、そのパスを返します。
そうでない場合は nil を返します。

@param path キャッシュファイルの候補となるパスを指定します。...

絞り込み条件を変える

<< < 1 2 3 4 5 ... > >>