3270件ヒット
[1-100件を表示]
(0.106秒)
ライブラリ
- ビルトイン (372)
-
drb
/ extservm (36) - fileutils (12)
-
irb
/ cmd / chws (48) -
irb
/ cmd / help (24) -
irb
/ cmd / load (72) -
irb
/ cmd / nop (60) -
irb
/ cmd / pushws (72) -
irb
/ cmd / subirb (96) -
irb
/ ext / use-loader (24) -
irb
/ extend-command (156) - mkmf (84)
-
net
/ imap (12) -
net
/ protocol (12) -
net
/ smtp (12) - optparse (144)
- pty (48)
- rake (12)
-
rake
/ packagetask (48) -
rubygems
/ command (348) -
rubygems
/ command _ manager (36) -
rubygems
/ commands / build _ command (36) -
rubygems
/ commands / cert _ command (12) -
rubygems
/ commands / contents _ command (12) -
rubygems
/ commands / dependency _ command (48) -
rubygems
/ commands / environment _ command (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / help _ command (24) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / lock _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / pristine _ command (12) -
rubygems
/ commands / specification _ command (12) -
rubygems
/ commands / stale _ command (12) -
rubygems
/ commands / uninstall _ command (12) -
rubygems
/ commands / unpack _ command (12) -
rubygems
/ commands / update _ command (36) -
rubygems
/ commands / which _ command (36) -
rubygems
/ ext / builder (12) -
rubygems
/ version _ option (36) - shell (84)
-
shell
/ builtin-command (18) -
shell
/ command-processor (390) -
shell
/ error (6) -
shell
/ filter (96) -
shell
/ process-controller (30) -
shell
/ system-command (102)
クラス
-
DRb
:: ExtServManager (36) -
Gem
:: Command (348) -
Gem
:: CommandManager (36) -
Gem
:: Commands :: BuildCommand (36) -
Gem
:: Commands :: DependencyCommand (48) -
Gem
:: Commands :: HelpCommand (24) -
Gem
:: Commands :: LockCommand (12) -
Gem
:: Commands :: UnpackCommand (12) -
Gem
:: Commands :: UpdateCommand (24) -
Gem
:: Commands :: WhichCommand (36) -
Gem
:: Ext :: Builder (12) - IO (168)
-
IRB
:: ExtendCommand :: ChangeWorkspace (12) -
IRB
:: ExtendCommand :: CurrentWorkingWorkspace (12) -
IRB
:: ExtendCommand :: Foreground (12) -
IRB
:: ExtendCommand :: Help (12) -
IRB
:: ExtendCommand :: IrbCommand (12) -
IRB
:: ExtendCommand :: Jobs (12) -
IRB
:: ExtendCommand :: Kill (12) -
IRB
:: ExtendCommand :: Load (12) -
IRB
:: ExtendCommand :: Nop (48) -
IRB
:: ExtendCommand :: PopWorkspace (12) -
IRB
:: ExtendCommand :: PushWorkspace (12) -
IRB
:: ExtendCommand :: Require (12) -
IRB
:: ExtendCommand :: Source (12) -
IRB
:: ExtendCommand :: Workspaces (12) -
Net
:: IMAP :: FetchData (12) - OptionParser (144)
-
Rake
:: PackageTask (48) - Shell (84)
-
Shell
:: BuiltInCommand (12) -
Shell
:: CommandProcessor (390) -
Shell
:: Filter (96) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (96)
モジュール
- FileUtils (24)
-
Gem
:: VersionOption (24) -
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (144) - Kernel (264)
- PTY (48)
- Signal (24)
キーワード
- < (6)
- > (6)
- >> (6)
- BuiltInCommand (6)
- CertCommand (12)
- ChangeWorkspace (12)
- CommandNotFound (6)
- ContentsCommand (12)
- CurrentWorkingWorkspace (12)
- EXAMPLES (12)
- EXT (12)
- EnvironmentCommand (12)
- ExtendCommandBundle (12)
- FetchCommand (12)
- Foreground (12)
- GenerateIndexCommand (12)
- HELP (12)
- Help (12)
- InstallCommand (12)
- InstallUpdateOptions (12)
- IrbCommand (12)
- Jobs (12)
- Kill (12)
- ListCommand (12)
- Load (12)
- LocalRemoteOptions (12)
-
NO
_ OVERRIDE (12) - NoDelegateMethods (6)
- Nop (12)
-
OVERRIDE
_ ALL (12) -
OVERRIDE
_ PRIVATE _ ONLY (12) - OutdatedCommand (12)
- PLATFORMS (12)
- PopWorkspace (12)
- PristineCommand (12)
- ProtoCommandError (12)
- PushWorkspace (12)
- Require (12)
- SMTPUnsupportedCommand (12)
- Source (12)
- SpecificationCommand (12)
- StaleCommand (12)
- SystemCommand (6)
- UninstallCommand (12)
- UpdateCommand (12)
- VersionOption (12)
- Win32ネイティブ版Rubyの互換性問題 (12)
- Workspaces (12)
- [] (18)
- ` (12)
- active? (12)
-
add
_ common _ option (12) -
add
_ delegate _ command _ to _ shell (6) -
add
_ extra _ args (12) -
add
_ option (12) -
add
_ platform _ option (12) -
add
_ schedule (6) -
add
_ specific _ extra _ args (12) -
add
_ version _ option (12) -
alias
_ command (18) - append (6)
- arguments (36)
- atime (6)
- attr (12)
- basename (6)
- begins? (12)
- cat (18)
-
cc
_ command (12) -
check
_ point (6) - chmod (6)
- chown (6)
- command= (12)
- commands (12)
- concat (6)
-
cpp
_ command (12) - ctime (6)
-
def
_ builtin _ commands (6) -
def
_ extend _ command (24) -
def
_ system _ command (12) - defaults (12)
- defaults= (12)
-
defaults
_ str (12) - delete (6)
- description (12)
- directory? (6)
- dirname (6)
-
do
_ rubygems _ update (12) -
drb
/ extservm (12) - each (6)
- echo (18)
- exec (48)
- executable? (6)
-
executable
_ real? (6) - execute (216)
- exist? (6)
- exists? (6)
-
extend
_ object (12) -
extra
_ args (12) -
extra
_ args= (12) -
find
_ command _ possibilities (12) -
find
_ paths (12) -
find
_ system _ command (18) -
finish
_ all _ jobs (6) - flush (6)
- foreach (6)
- ftype (6)
-
gem
_ paths (12) -
get
_ all _ gem _ names (12) -
get
_ one _ gem _ name (12) -
get
_ one _ optional _ argument (12) -
get
_ path (12) - getoptlong (12)
- getpty (24)
- glob (18)
- identical? (6)
- initialize (6)
- input= (6)
-
install
_ alias _ method (12) -
install
_ builtin _ commands (6) -
install
_ extend _ commands (24) -
install
_ system _ commands (12) - instance (12)
-
irb
/ extend-command (12) -
irb
_ context (24) -
irb
_ exit (12) -
irb
_ load (12) -
irb
_ original _ method _ name (12) -
irb
_ require (12) - join (6)
- kill (6)
-
kill
_ job (6) -
link
_ command (12) - lstat (6)
-
method
_ added (6) - mkdir (6)
- mtime (6)
- name (6)
-
net
/ ftp (12) - new (18)
- notify (18)
- on (144)
- open (6)
-
optparse
/ date (12) -
optparse
/ shellwords (12) -
optparse
/ time (12) -
optparse
/ uri (12) - out (18)
- popen (168)
-
print
_ dependencies (12) -
program
_ name (12) - rdoc (12)
- readlink (6)
-
register
_ command (12) -
remove
_ option (12) - rename (6)
- rm (6)
- rmdir (6)
-
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) -
rubygems
/ commands / cert _ command (12) -
rubygems
/ commands / check _ command (12) -
rubygems
/ commands / contents _ command (12) -
rubygems
/ commands / environment _ command (12) -
rubygems
/ commands / fetch _ command (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / install _ command (12) -
rubygems
/ commands / list _ command (12) -
rubygems
/ commands / outdated _ command (12) -
rubygems
/ commands / pristine _ command (12) -
rubygems
/ commands / specification _ command (12) -
rubygems
/ commands / stale _ command (12) -
rubygems
/ commands / uninstall _ command (12) -
rubygems
/ commands / update _ command (12) -
rubygems
/ version _ option (12) - run (12)
- service (12)
- setgid? (6)
- setuid? (6)
- sfork (6)
- sh (12)
-
shell
/ builtin-command (6) -
shell
/ system-command (6) - size (6)
- size? (6)
- socket? (6)
- spawn (72)
-
spec
_ path (12) -
specific
_ extra _ args (12) -
specific
_ extra _ args _ hash (12) - split (6)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
start
_ job (6) - stat (6)
- sticky? (6)
- summary (12)
- summary= (12)
-
super
_ each (6) - system (66)
-
tar
_ command (12) -
tar
_ command= (12) - tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- trap (48)
- truncate (6)
-
try
_ do (24) - tsort (12)
-
undef
_ system _ command (12) - unlink (6)
- usage (36)
- utime (6)
- wait? (12)
-
which
_ to _ update (12) -
win32
/ registry (12) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - xpopen (12)
- xsystem (12)
-
zip
_ command (12) -
zip
_ command= (12) - | (6)
- リテラル (12)
検索結果
先頭5件
-
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:
The pristine command compares the installed gems with the contents of the
ca...