るりまサーチ

最速Rubyリファレンスマニュアル検索!
88件ヒット [1-88件を表示] (0.127秒)
トップページ > クエリ:-[x] > クエリ:r[x] > クエリ:on[x] > クエリ:dependencies[x]

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. fileutils cp_r
  5. bigdecimal to_r

検索結果

Gem::Specification#dependencies -> Array (21301.0)

依存している Gem のリストを返します。

依存している Gem のリストを返します。

@see Gem::Dependency

Gem::Specification#runtime_dependencies -> Array (15301.0)

この Gem パッケージが依存している Gem パッケージのリストを返します。

この Gem パッケージが依存している Gem パッケージのリストを返します。

Gem::Specification#development_dependencies -> Array (9301.0)

この Gem が依存している Gem のリストを返します。

この Gem が依存している Gem のリストを返します。

Gem::DependencyInstaller::DEFAULT_OPTIONS -> Hash (9206.0)

自身を初期化する際に使用するデフォルトのオプションです。

...g => false,
:domain => :both, # HACK dup
:force => false,
:format_executable => false, # HACK dup
:ignore_dependencies => false,
:security_policy => nil, # HACK NoSecurity requires OpenSSL. AlmostNo? Low?
:wrappers => true...

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

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

...ion のリストを返します。

このことは、インストール済みの Gem を削除するときに便利です。
このメソッドで返された順にインストール済みの Gem 削除すると、
依存関係による多くの問題を回避することができます。

If ther...
...e are circular dependencies (yuck!), then gems will be
r
eturned 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
r
eturned in dependency order again....

絞り込み条件を変える

tsort (6024.0)

tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。

...tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。

=== Example

//emlist[][ruby]{
r
equire 'tsort'

class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end

{1=>[2, 3],...
...], 3=>[], 4=>[]}.tsort
#=> [3, 2, 1, 4]

{1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}.strongly_connected_components
#=> [[4], [2, 3], [1]]
//}

=== より現実的な例

非常に単純な `make' に似たツールは以下のように実装できます。

//emlist[][ruby]{
r
equire 'tsort'

class Make
def...
...triple]}
@dep[triple] = inputs
end

def build(target)
each_strongly_connected_component_from(target) {|ns|
if ns.length != 1
fs = ns.delete_if {|n| Array === n}
r
aise TSort::Cyclic.new("cyclic dependencies: #{fs.join ', '}")
end
n = ns.first
if Arr...

Gem::DependencyInstaller.new(options = {}) -> Gem::DependencyInstaller (3306.0)

自身を初期化します。

...ものを利用できます。

: :cache_dir
*.gem ファイルを保存するディレクトリを指定します。
: :domain
:local (カレントディレクトリのみ検索します), :remote (Gem.sources を検索します),
:both (:local, :remote の両方を検索します) のいず...
...れかを指定可能です。
: :env_shebang
Gem::Installer.new を参照してください。
: :force
バージョンチェックとセキュリティポリシーのチェックを行わずにインストールを実行します。
ただし、署名付きの Gem のみをインストール...
...
実行します。
: :format_executable
Gem::Installer.new を参照してください。
: :ignore_dependencies
依存している Gem をインストールしません。
: :install_dir
Gem をインストールするディレクトリです。
: :security_policy
セキュリティ...

Gem::Installer.new(gem, options = {}) -> Gem::Installer (3306.0)

@todo 書いてないオプションがいっぱいある

...てないオプションがいっぱいある

与えられた引数で自身を初期化します。

@param gem インストール対象の Gem のパスを指定します。

@param options インストーラが使用するオプションをハッシュで指定します。
使用...
...g line に /usr/bin/env を使用します。
: :force
署名された Gem のみをインストールするというポリシー以外、
全てのバージョンチェックとセキュリティポリシーのチェックを行わないようにします。
: :ignore_dependencies
依存関...
...ません。
: :install_dir
Gem をインストールするディレクトリを指定します。
: :format_executable
実行ファイルの名前を ruby と同じフォーマットにするかどうか指定します。
インストールされている ruby が ruby19 という名前の場...