246件ヒット
[1-100件を表示]
(0.117秒)
別のキーワード
ライブラリ
- ビルトイン (48)
- csv (12)
- pathname (12)
- rake (12)
-
rubygems
/ gem _ path _ searcher (36) -
rubygems
/ specification (108) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6)
クラス
- CSV (12)
-
Gem
:: GemPathSearcher (36) -
Gem
:: Specification (108) - Pathname (12)
- Proc (12)
-
Rake
:: Application (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Thread
:: Backtrace :: Location (36)
キーワード
-
absolute
_ path (12) - extensions= (12)
-
extra
_ rdoc _ files= (12) - find (12)
-
find
_ all (12) -
full
_ gem _ path (12) -
init
_ gemspecs (12) - inspect (12)
-
installation
_ path (12) -
loaded
_ from= (12) -
original
_ dir (12) -
require
_ path (12) -
require
_ path= (12) -
require
_ paths (12) -
require
_ paths= (12) -
source
_ location (12) - truncate (42)
検索結果
先頭5件
-
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|
puts 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...