るりまサーチ

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

別のキーワード

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

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

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

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

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

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

Gem::DependencyList#dependency_order -> [Gem::Specification] (18301.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::Commands::DependencyCommand#print_dependencies(spec, level = 0) -> String (18201.0)

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

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

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

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

Gem::DependencyInstaller#gather_dependencies -> Array (18201.0)

依存関係を無視するように指定されていない限り、インストールするように指定された Gem が依存している Gem の情報を集めて返します。

依存関係を無視するように指定されていない限り、インストールするように指定された
Gem が依存している Gem の情報を集めて返します。

MatchData#end(n) -> Integer | nil (18168.0)

n 番目の部分文字列終端のオフセットを返します。

...@param n 部分文字列を指定する数値。

@raise IndexError 範囲外の n を指定した場合に発生します。

//emlist[例][ruby]{
/(foo)(bar)(BAZ)?/ =~ "foobarbaz"
p
$~.end(0) # => 6
p
$~.end(1) # => 3
p
$~.end(2) # => 6
p
$~.end(3) # => nil
p
$~.end(4) # => `end': inde...

絞り込み条件を変える

Gem::Specification#add_dependency(gem, *requirements) -> [Gem::Dependency] (15401.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] (15401.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_development_dependency(gem, *requirements) -> [Gem::Dependency] (15301.0)

この gem の DEVELOPMENT 依存性を追加します。 この gem の開発時に必要となる gem を指定します。

...gem の DEVELOPMENT 依存性を追加します。
この gem の開発時に必要となる gem を指定します。

//emlist[][ruby]{
gem "rack", "~> 1.6", ">= 1.6.12"
//}

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

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

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

Rake::PackageTask#package_dir_path -> String (15207.0)

パッケージに含むファイルを配置するディレクトリを返します。

...パッケージに含むファイルを配置するディレクトリを返します。

//emlist[][ruby]{
# Rakefile での記載例とする
require 'rake/packagetask'

Rake::PackageTask.new("sample", "1.0.0") do |package_task|
p
ackage_task.package_dir_path # => "pkg/sample-1.0.0"
end

//}...
<< 1 2 3 ... > >>