るりまサーチ

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

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. dh p
  5. rsa p

キーワード

検索結果

<< 1 2 3 ... > >>

Gem::Requirement#pretty_print(pp) -> String (12202.0)

わかりやすい形で、条件を表す文字列を返します。 pp メソッドで出力する際に、内部で用いられます。

...、条件を表す文字列を返します。
p
p メソッドで出力する際に、内部で用いられます。

@param PP :PP オブジェクトを指定します。

//emlist[][ruby]{
require 'pp'

req = Gem::Requirement.new(["< 5.0", ">= 1.9"])
p
p req # => Gem::Requirement.new(["< 5.0", ">= 1...
...形で、条件を表す文字列を返します。
p
p メソッドで出力する際に、内部で用いられます。

@param PP :PP オブジェクトを指定します。

//emlist[][ruby]{
req = Gem::Requirement.new(["< 5.0", ">= 1.9"])
p
p req # => Gem::Requirement.new(["< 5.0", ">= 1.9"])
//...

Gem::Commands::DependencyCommand#find_reverse_dependencies(spec) -> Array (9202.0)

与えられた Gem スペックに依存する Gem のリストを返します。

...与えられた Gem スペックに依存する Gem のリストを返します。

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

Gem::DependencyList#dependency_order -> [Gem::Specification] (9202.0)

依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。

...依存する Gem の数が少ない順にソートされた Gem::Specification のリストを返します。

このことは、インストール済みの Gem を削除するときに便利です。
このメソッドで返された順にインストール済みの Gem 削除すると、
依存...
...If there are circular dependencies (yuck!), then gems will be
returned in order until only the circular dependents and anything
they reference are left. Then arbitrary gemspecs will be returned
until the circular dependency is broken, after which gems will be
returned in dependency order again....

Gem::SpecFetcher#fetch_spec(spec, source_uri) -> object (9202.0)

@todo

...@todo

@param spec
@param source_uri...

Gem::Specification#add_dependency(gem, *requirements) -> [Gem::Dependency] (9202.0)

この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。

...す。

//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}

@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。

@param requirements バージョ...
...ンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。

@see Gem::Specification#add_development_dependency, Gem::Dependency...

絞り込み条件を変える

Gem::Specification#add_runtime_dependency(gem, *requirements) -> [Gem::Dependency] (9202.0)

この gem の RUNTIME 依存性を追加します。 実行時に必要となる gem を指定します。

...す。

//emlist[][ruby]{
# https://github.com/rurema/bitclust/blob/v1.2.3/bitclust-core.gemspec#L25
s.add_runtime_dependency "progressbar", ">= 1.9.0", "< 2.0"
//}

@param gem 依存する gem の名前か Gem::Dependency のインスタンスを指定します。

@param requirements バージョ...
...ンの必要条件を 0 個以上指定します。デフォルトは ">= 0" です。

@see Gem::Specification#add_development_dependency, Gem::Dependency...

Gem::Commands::DependencyCommand#print_dependencies(spec, level = 0) -> String (9102.0)

依存関係を表す文字列を返します。

...依存関係を表す文字列を返します。

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

@param level 依存関係の深さを指定します。...

Gem::Commands::UnpackCommand#get_path(gemname, version_req) -> String | nil (9102.0)

引数で指定された条件にマッチする Gem パッケージを保存しているパスを返します。

...引数で指定された条件にマッチする Gem パッケージを保存しているパスを返します。

@param gemname Gem パッケージの名前を指定します。

@param version_req バージョンの満たすべき条件を文字列で指定します。...

Gem::Commands::UpdateCommand#do_rubygems_update(version) (9102.0)

RubyGems 自体を更新します。

...
RubyGems
自体を更新します。...

Gem::Commands::UpdateCommand#which_to_update(highest_installed_gems, gem_names) -> Array (9102.0)

更新が必要な Gem のリストを返します。

更新が必要な Gem のリストを返します。

絞り込み条件を変える

<< 1 2 3 ... > >>