564件ヒット
[1-100件を表示]
(0.143秒)
ライブラリ
- ビルトイン (135)
-
fiddle
/ import (11) -
irb
/ extend-command (33) - psych (45)
-
rdoc
/ context (55) -
rdoc
/ parser (11) -
rdoc
/ top _ level (11) -
rubygems
/ specification (11) -
shell
/ command-processor (24) - thread (2)
- tsort (85)
- win32ole (11)
クラス
- Array (19)
-
Gem
:: Specification (11) - Method (11)
- Module (19)
- Object (11)
-
Psych
:: Handler (11) -
Psych
:: Nodes :: Alias (22) -
RDoc
:: Context (55) -
RDoc
:: Parser (11) -
RDoc
:: TopLevel (11) -
Shell
:: CommandProcessor (24) - String (11)
- TracePoint (22)
- UnboundMethod (11)
-
WIN32OLE
_ TYPE (11)
モジュール
-
Fiddle
:: Importer (11) -
IRB
:: ContextExtender (11) -
IRB
:: ExtendCommandBundle (22) - Kernel (22)
- Psych (12)
- TSort (85)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - ConditionVariable (11)
-
NEWS for Ruby 2
. 3 . 0 (9) -
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4) - Ruby用語集 (11)
-
SCRIPT
_ LINES _ _ (11) -
_ _ callee _ _ (11) -
_ _ method _ _ (11) -
add
_ alias (11) -
add
_ to (11) -
alias
_ command (12) -
alias
_ extension (11) -
alias
_ map (6) -
alias
_ method (11) - aliases (11)
- anchor (11)
-
attribute
_ alias _ singular (11) -
callee
_ id (11) -
def
_ extend _ command (22) -
each
_ strongly _ connected _ component (21) -
each
_ strongly _ connected _ component _ from (21) -
find
_ local _ symbol (11) -
initialize
_ methods _ etc (11) -
irb
/ completion (11) -
irb
_ original _ method _ name (11) -
method
_ id (11) -
module
_ function (8) - new (11)
-
ole
_ type (11) -
original
_ name (22) - pack (19)
- pack テンプレート文字列 (11)
-
ruby 1
. 6 feature (11) -
ruby 1
. 8 . 2 feature (11) -
ruby 1
. 8 . 4 feature (11) -
ruby 1
. 9 feature (11) -
safe
_ load (12) -
strongly
_ connected _ components (11) - tsort (22)
-
tsort
_ each (21) - typealias (11)
-
unalias
_ command (6) -
unmatched
_ alias _ lists (11) - unpack (11)
- クラス/メソッドの定義 (11)
検索結果
先頭5件
-
Psych
:: Handler # alias(anchor) -> () (21347.0) -
anchor という名前の alias を見付けたときに呼び出されます。
...anchor という名前の alias を見付けたときに呼び出されます。
必要に応じてこのメソッドを override してください。
@param anchor aliasのアンカー文字列
=== 例
以下の YAMLドキュメントは自分自身への参照を持つ配列を表していま......す。
--- &ponies
- first element
- *ponies
この &ponies が anchor で *ponies が alias です。この場合、
alias メソッドは "poines" という引数で呼び出されます。... -
Gem
:: Specification . attribute _ alias _ singular(singular , plural) -> () (12307.0) -
既に存在する複数形の属性の単数形バージョンを定義します。
...に定義すると
attribute_alias_singular :require_path, :require_paths
# こう書くかわりに
s.require_paths = ['mylib']
# こう書くことができます。
s.require_path = 'mylib'
@param singular 属性名の単数形を指定します。
@param plural 属性名の複数形... -
RDoc
:: Context # add _ alias(an _ alias) -> RDoc :: Alias (9531.0) -
引数で指定した RDoc::Alias オブジェクトを追加します。
...引数で指定した RDoc::Alias オブジェクトを追加します。
@param an_alias RDoc::Alias オブジェクトを指定します。... -
RDoc
:: Context # unmatched _ alias _ lists -> {String => RDoc :: Alias} (9434.0) -
メソッド名の対応が取れていない alias の旧メソッド名がキー、 RDoc::Alias が値の Hash を返します。
...メソッド名の対応が取れていない alias の旧メソッド名がキー、
RDoc::Alias が値の Hash を返します。... -
RDoc
:: Context # aliases -> [RDoc :: Alias] (9417.0) -
追加された RDoc::Alias の配列を返します。
...追加された RDoc::Alias の配列を返します。... -
Shell
:: CommandProcessor . alias _ command(alias , command , *opts) -> self (9310.0) -
@todo
...@todo
@param alias エイリアスの名前を指定します。
@param command コマンド名を指定します。
@param opts コマンドに与えるオプションを指定します。
@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。... -
Shell
:: CommandProcessor . alias _ command(alias , command , *opts) { . . . } -> self (9310.0) -
@todo
...@todo
@param alias エイリアスの名前を指定します。
@param command コマンド名を指定します。
@param opts コマンドに与えるオプションを指定します。
@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。... -
Shell
:: CommandProcessor . unalias _ command(alias) -> self (9307.0) -
エイリアスを削除します。
...エイリアスを削除します。
@param alias 削除したいエイリアスを指定します。... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator (9306.0) -
node から到達可能な強連結成分についてのイテレータです。
...ん。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node,......on_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connected_component_from(node){|ns|
printf("%s -> %s\n", node, ns.join(","))
}
}
}
#出力
#=> [4]
#=> 4 -> 4
#=> [2, 3]
#=> 2 -> 4......#=> 2 -> 2,3
#=> 3 -> 4
#=> 3 -> 3,2
#=> [1]
#=> 1 -> 4
#=> 1 -> 2,3
#=> 1 -> 1
//}
@see TSort.each_strongly_connected_component_from... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) {|nodes| . . . } -> () (9306.0) -
node から到達可能な強連結成分についてのイテレータです。
...ん。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node,......on_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
non_sort.each_strongly_connected_component{|nodes|
p nodes
nodes.each {|node|
non_sort.each_strongly_connected_component_from(node){|ns|
printf("%s -> %s\n", node, ns.join(","))
}
}
}
#出力
#=> [4]
#=> 4 -> 4
#=> [2, 3]
#=> 2 -> 4......#=> 2 -> 2,3
#=> 3 -> 4
#=> 3 -> 3,2
#=> [1]
#=> 1 -> 4
#=> 1 -> 2,3
#=> 1 -> 1
//}
@see TSort.each_strongly_connected_component_from... -
Fiddle
:: Importer # typealias(new , orig) -> () (9300.0) -
extern や struct で利用する型の別名を定義します。
...extern や struct で利用する型の別名を定義します。
@param new 別名(文字列)
@param orig 別名を付けたい型の名前(文字列)
@see Fiddle::Importer#extern, Fiddle::Importer#sizeof,
Fiddle::Importer#struct, Fiddle::Importer#union...