るりまサーチ

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

別のキーワード

  1. _builtin file?
  2. _builtin file
  3. file lstat
  4. file chown
  5. file size

検索結果

<< < 1 2 >>

Gem::RemoteFetcher#download(spec, source_uri, install_dir = Gem.dir) -> String (6107.0)

source_uri から取得した Gem パッケージをキャッシュディレクトリに配置します。

...配置します。

既に Gem パッケージが存在する場合は、ファイルを置き換えませんが source_uri が
ローカルパス (file://) である場合は常にファイルを置き換えます。

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

@param...

IRB::ExtendCommand::Load#execute(file_name, priv = nil) -> nil (3114.0)

ファイル path を Ruby スクリプトとみなし、現在の irb インタプリタ上で実 行します。

...なし、現在の irb インタプリタ上で実
行します。

Kernel.#load と異なり、path の内容を irb で一行ずつタイプしたかの
ように、irb 上で一行ずつ評価されます。

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

@param priv 真を指...
...定した場合は実行は内部的に生成される無名モジュール上
で行われ、グローバルな名前空間を汚染しません。

@raise LoadError 読み込みに失敗した場合に発生します。...

LoadError#path -> String | nil (3029.0)

Kernel.#require や Kernel.#load に失敗したパスを返します。

...Kernel.#require や Kernel.#load に失敗したパスを返します。

begin
require 'this/file/does/not/exist'
rescue LoadError => e
e.path # => 'this/file/does/not/exist'
end

パスが定まらない場合は nil を返します。...

OpenSSL::Config#each {|section, key, value| ... } -> self (13.0)

オブジェクトに含まれる全ての設定情報を順にブロックに渡し 呼び出します。

...表す文字列、キーに
割り当てられた値の文字列、の3つです。

require 'openssl'
conf = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)
conf.each{|section, key, value| p [section, key, value]}
# => ["req_distinguished_name", "countryName", "Country Name (2 le...

OpenSSL::X509::ExtensionFactory#config=(config) (13.0)

自身にコンフィグファイルオブジェクトを設定します。

...自身にコンフィグファイルオブジェクトを設定します。


require 'openssl'
factory.config = OpenSSL::Config.load(OpenSSL::Config::DEFAULT_CONFIG_FILE)

@param config 設定ファイル(OpenSSL::Config オブジェクト)...

絞り込み条件を変える

<< < 1 2 >>