154件ヒット
[1-100件を表示]
(0.032秒)
別のキーワード
ライブラリ
- ビルトイン (44)
- csv (11)
- optparse (11)
-
rdoc
/ context (11) -
rubygems
/ dependency _ installer (11) -
rubygems
/ installer (22) -
rubygems
/ specification (33) -
rubygems
/ uninstaller (11)
クラス
- CSV (11)
- Exception (11)
-
Gem
:: DependencyInstaller (11) -
Gem
:: Installer (22) -
Gem
:: Specification (33) -
Gem
:: Uninstaller (11) -
OptionParser
:: ParseError (11) -
RDoc
:: Context :: Section (11) - Rational (11)
-
RubyVM
:: InstructionSequence (11) -
Thread
:: Backtrace :: Location (11)
キーワード
-
find
_ spec _ by _ name _ and _ version (11) - inspect (77)
- install (11)
-
installation
_ path (11)
検索結果
先頭5件
-
Gem
:: Installer # spec -> Gem :: Specification (21301.0) -
インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。
...インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。... -
Gem
:: Uninstaller # spec -> Gem :: Specification (21301.0) -
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。
...Gem::Uninstaller#uninstall_gem の実行中のみセットされます。... -
Gem
:: Specification # installation _ path -> String (18200.0) -
この Gem パッケージのインストール先のパスを返します。
この Gem パッケージのインストール先のパスを返します。 -
RubyVM
:: InstructionSequence # inspect -> String (18200.0) -
self の情報をラベルとパスを含んだ人間に読みやすい文字列にして返します。
...んだ人間に読みやすい文字列にして返します。
//emlist[例][ruby]{
iseq = RubyVM::InstructionSequence.compile('num = 1 + 2')
iseq.inspect # => "<RubyVM::InstructionSequence:<compiled>@<compiled>>"
//}
@see RubyVM::InstructionSequence#label,
RubyVM::InstructionSequence#path... -
Gem
:: DependencyInstaller # find _ spec _ by _ name _ and _ version(gem _ name , version = Gem :: Requirement . default) -> Array (15301.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
...れた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。... -
Exception
# inspect -> String (15200.0) -
self のクラス名と message を文字列にして返します。
...self のクラス名と message を文字列にして返します。
//emlist[例][ruby]{
begin
raise "exception"
rescue
p $!.inspect # => "#<RuntimeError: exception>"
end
//}... -
OptionParser
:: ParseError # inspect -> String (15200.0) -
自身を人間が読みやすい形の文字列表現にして返します。
...自身を人間が読みやすい形の文字列表現にして返します。
@return 文字列を返します。
@see Object#inspect... -
RDoc
:: Context :: Section # inspect -> String (15200.0) -
自身の情報を人間に読みやすい文字列にして返します。
自身の情報を人間に読みやすい文字列にして返します。 -
Rational
# inspect -> String (15200.0) -
自身を人間が読みやすい形の文字列表現にして返します。
...に10進数の表記を返します。
@return 有理数の表記にした文字列を返します。
//emlist[例][ruby]{
Rational(5, 8).inspect # => "(5/8)"
Rational(2).inspect # => "(2/1)"
Rational(-8, 6).inspect # => "(-4/3)"
Rational(0.5).inspect # => "(1/2)"
//}
@see Rational#to_s... -
Thread
:: Backtrace :: Location # inspect -> String (15200.0) -
Thread::Backtrace::Location#to_s の結果を人間が読みやすいような文 字列に変換したオブジェクトを返します。
...race::Location#to_s の結果を人間が読みやすいような文
字列に変換したオブジェクトを返します。
//emlist[例][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.inspect
end
# => "path/to/foo.rb:5:in `initialize'"
# "path/to/foo.rb:9:in `new'"
# "path/to/foo.rb:9:in `<main>'"
//}...