別のキーワード
ライブラリ
- ビルトイン (4)
- csv (1)
- optparse (1)
-
rdoc
/ context (1) -
rubygems
/ dependency _ installer (1) -
rubygems
/ installer (2) -
rubygems
/ specification (3) -
rubygems
/ uninstaller (1)
クラス
- CSV (1)
- Exception (1)
-
Gem
:: DependencyInstaller (1) -
Gem
:: Installer (2) -
Gem
:: Specification (3) -
Gem
:: Uninstaller (1) -
OptionParser
:: ParseError (1) -
RDoc
:: Context :: Section (1) - Rational (1)
-
RubyVM
:: InstructionSequence (1) -
Thread
:: Backtrace :: Location (1)
キーワード
-
find
_ spec _ by _ name _ and _ version (1) - inspect (7)
- install (1)
-
installation
_ path (1)
検索結果
先頭5件
-
Gem
:: Installer # spec -> Gem :: Specification (63904.0) -
インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。
インストールしようとしている Gem に対応する Gem::Specification のインスタンスを返します。 -
Gem
:: Uninstaller # spec -> Gem :: Specification (63904.0) -
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。
Gem::Uninstaller#uninstall_gem の実行中のみセットされます。 -
Gem
:: Specification # installation _ path -> String (54601.0) -
この Gem パッケージのインストール先のパスを返します。
この Gem パッケージのインストール先のパスを返します。 -
RubyVM
:: InstructionSequence # inspect -> String (54601.0) -
self の情報をラベルとパスを含んだ人間に読みやすい文字列にして返します。
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 (45904.0) -
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と それの存在する URI を含む配列を返します。
与えられた Gem の名前とバージョンに関する条件にマッチする Gem::Specification と
それの存在する URI を含む配列を返します。
@param gem_name Gem の名前を指定します。
@param version Gem が満たすバージョンに関する条件を指定します。 -
Exception
# inspect -> String (45601.0) -
self のクラス名と message を文字列にして返します。
self のクラス名と message を文字列にして返します。
//emlist[例][ruby]{
begin
raise "exception"
rescue
p $!.inspect # => "#<RuntimeError: exception>"
end
//} -
OptionParser
:: ParseError # inspect -> String (45601.0) -
自身を人間が読みやすい形の文字列表現にして返します。
自身を人間が読みやすい形の文字列表現にして返します。
@return 文字列を返します。
@see Object#inspect -
RDoc
:: Context :: Section # inspect -> String (45601.0) -
自身の情報を人間に読みやすい文字列にして返します。
自身の情報を人間に読みやすい文字列にして返します。 -
Rational
# inspect -> String (45601.0) -
自身を人間が読みやすい形の文字列表現にして返します。
自身を人間が読みやすい形の文字列表現にして返します。
"(3/5)", "(-17/7)" のように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 (45601.0) -
Thread::Backtrace::Location#to_s の結果を人間が読みやすいような文 字列に変換したオブジェクトを返します。
Thread::Backtrace::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 ... -
CSV
# inspect -> String (36619.0) -
ASCII 互換文字列で自身の情報を表したものを返します。
ASCII 互換文字列で自身の情報を表したものを返します。
//emlist[例][ruby]{
require "csv"
csv = CSV.new("header1,header2\nrow1_1,row1_2")
csv.inspect # => "<#CSV io_type:StringIO encoding:UTF-8 lineno:0 col_sep:\",\" row_sep:\"\\n\" quote_char:\"\\\"\">"
//} -
Gem
:: Specification # post _ install _ message -> String (36301.0) -
インストール完了後に表示するメッセージを返します。
インストール完了後に表示するメッセージを返します。 -
Gem
:: Specification # post _ install _ message=(message) (36301.0) -
インストール完了後に表示するメッセージをセットします。
インストール完了後に表示するメッセージをセットします。
@param message メッセージを指定します。 -
Gem
:: Installer # install -> Gem :: Specification (27901.0) -
Gem をインストールします。
Gem をインストールします。
以下のディレクトリ構造で Gem をインストールします。
@gem_home/
cache/<gem-version>.gem #=> インストールした Gem のコピー
gems/<gem-version>/... #=> インストール時に展開したファイル
specifications/<gem-version>.gemspec #=> gemspec ファイル
@return ロードされた Gem::Specification のインスタンスを返します。
@r...