るりまサーチ

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

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. dsa p
  5. dsa p=

検索結果

<< 1 2 3 > >>

Thread::Backtrace::Location#path -> String (27214.0)

self が表すフレームのファイル名を返します。

...self が表すフレームのファイル名を返します。

例: Thread::Backtrace::Location の例1を用いた例

//emlist[][ruby]{
loc = c(0..1).first
loc.path # => "caller_locations.rb"
//}

@see Thread::Backtrace::Location#absolute_path...

Gem::Specification#require_path=(path) (15409.0)

Gem::Specification#require_paths= の単数バージョンです。

...Gem::Specification#require_paths= の単数バージョンです。

@param path この Gem パッケージを使用した際に require するファイルが置かれているディレクトリを指定します。

@see Gem::Specification#require_paths=...

Gem::Specification#require_paths=(paths) (15401.0)

この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストをセットします。

...em パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストをセットします。

@param paths この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを...

Thread::Backtrace::Location#absolute_path -> String (15232.0)

self が表すフレームの絶対パスを返します。

...][ruby]{
# foo.rb
class Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end

Foo.new(0..2).locations.map do |call|
p
uts call.absolute_path
end

# => /path/to/foo.rb
# /path/to/foo.rb
# /path/to/foo.rb
//}

@see Thread::Backtrace::Location#path...

Gem::Specification#full_gem_path -> String (15202.0)

この Gem パッケージへのフルパスを返します。

この Gem パッケージへのフルパスを返します。

絞り込み条件を変える

Gem::Specification#installation_path -> String (15202.0)

この Gem パッケージのインストール先のパスを返します。

この Gem パッケージのインストール先のパスを返します。

Gem::Specification#require_path -> String (15202.0)

Gem::Specification#require_paths の単数バージョンです。

...Gem::Specification#require_paths の単数バージョンです。

@see Gem::Specification#require_paths...

Gem::Specification#require_paths -> [String] (15201.0)

この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ のリストを返します。

この Gem パッケージを使用した際に require するファイルが置かれているディレクトリ
のリストを返します。

Pathname#truncate(length) -> 0 (12101.0)

File.truncate(self.to_s, length) と同じです。

...File.truncate(self.to_s, length) と同じです。


@param length 変更したいサイズを整数で与えます。

@see File.truncate...
<< 1 2 3 > >>