るりまサーチ

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

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle align_size_t

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

tsort (26150.0)

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

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

=== Example

//emlist[][ruby]{
require '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],...
...=>[]}.tsort
#=> [3, 2, 1, 4]

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

=== より現実的な例

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

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

class Make
def initialize...
...nputs_time != nil && outputs_time <= inputs_time
sleep 1 if inputs_time != nil && inputs_time.to_i == Time.now.to_i
block.call
end
end
}
end

def tsort_each_child(node, &block)
@dep[node].each(&block)
end
include TSort
end

def command(arg)
print a...

Shell::SystemCommand#command -> String (24201.0)

@todo

...@todo

コマンド名を返します。...

DRb::ExtServManager.command -> { String => String|[String] } (21407.0)

サービスを起動するためのコマンドを指定するための Hash を 返します。

...のサービスを起動するためのコマンドです。
この Hash を変更することでサービスを定義します。
DRb::ExtServManager.command= で Hash 自体を
変更することでも同じことができます。

コマンドは文字列、もしくは文字列の配列で指...

IRB::ContextExtender.install_extend_commands -> object (21212.0)

定義済みの拡張を読み込みます。

...::Context で以下のメソッドが利用できるようになります。

* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=

irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。

@see IRB::ContextExtender.def_extend_...

Gem::Command#command -> String (21201.0)

コマンドの名前を返します。

コマンドの名前を返します。

絞り込み条件を変える

IRB::ContextExtender.def_extend_command(cmd_name, load_file, *aliases) -> object (21201.0)

IRB::Context に cmd_name で指定したメソッドが実行できるように拡張 します。

...IRB::Context に cmd_name で指定したメソッドが実行できるように拡張
します。

@param cmd_name メソッド名を Symbol で指定します。
IRB::Context クラスのインスタンスメソッドとして定
義してある必要がありま...

IRB::ExtendCommandBundle.install_extend_commands -> object (18206.0)

定義済みの拡張を読み込みます。

...ぞれ 1 つだけ抜粋)

* irb_current_working_workspace
* irb_change_workspace
* irb_workspaces
* irb_push_workspace
* irb_pop_workspace
* irb_load
* irb_require
* irb_source
* irb
* irb_jobs
* irb_fg
* irb_kill
* irb_help

irb/extend-command が require された時にライブラ...
...リ内部で自動的
に実行されます。

@see IRB::ExtendCommandBundle.install_extend_commands...

IRB::ExtendCommandBundle.def_extend_command(cmd_name, cmd_class, load_file = nil, *aliases) -> object (18201.0)

irb に cmd_name で指定したメソッドが実行できるように拡張します。

...cute メソッドとして定
義してある必要があります。

@param cmd_class 指定した拡張が定義されたクラス名を Symbol、
String、Class のいずれかで指定します。
なお、このクラスは IRB::ExtendCommand...
...す。複数指定する事ができます。フラグは
IRB::ExtendCommandBundle::NO_OVERRIDE、
IRB::ExtendCommandBundle::OVERRIDE_PRIVATE_ONLY、
IRB::ExtendCommandBundle::OVERRIDE_ALL のいずれか
を指定します。...

Shell::SystemCommand#terminate -> () (18200.0)

@todo

...@todo...

rubygems/commands/pristine_command (18018.0)

インストールされている Gem パッケージを初期状態にするためのライブラリです。

...インストールされている Gem パッケージを初期状態にするためのライブラリです。

Usage: gem pristine [args] [options]
Options:
--all インストールされている全ての Gem パッケージを...
...初期状態に戻します
Common Options:
-h, --help このコマンドのヘルプを表示します
-V, --[no-]verbose 表示を詳細にします
-q, --quiet 静かに実行します
--c...
...Arguments:
GEMNAME gem to restore to pristine condition (unless --all)
Summary:
Restores installed gems to pristine condition from files located in the gem
cache
Description:
T
he pristine command compares the installed gems with the contents of the
ca...

絞り込み条件を変える

<< 1 2 3 ... > >>