57件ヒット
[1-57件を表示]
(0.017秒)
キーワード
- profile (6)
- rdoc (12)
-
rdoc
/ parser / c (12) -
rexml
/ parsers / sax2parser (12) - tsort (12)
- xmlrpc (3)
検索結果
-
profile (13.0)
-
Ruby プログラムのためのプロファイラです。 プロファイラとは効率改善のための調査に用いられるツールのことです。 profile ライブラリは各メソッドの実行時間に関する統計を出力します。
...11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47 … 略 …
% cumulative self self total
time seconds seconds calls ms/call ms/call name
33.87 1.49 1.49 11 135.65 214.49 Fixnum#step
31.38 2.88 1.38 2410 0.57 0.57 Array... -
rdoc
/ parser / c (13.0) -
C 言語で記述されたソースコードから組み込みクラス/モジュールのドキュメン トを解析するためのサブライブラリです。
...Ruby のメソッドのものに指定します。
RDoc が対応するメソッドを見つけられなかった場合に使用します。
: call-seq:
指定した次の行から次の空行までをメソッド呼び出し列と解釈します。
また、RDoc は rb_define_method など......MyClass
*
* Encapsulate the writing and reading of the configuration
* file. ...
*/
/*
* Document-method: read_value
*
* call-seq:
* cfg.read_value(key) -> value
* cfg.read_value(key} { |key| } -> value
*
* Return the value corresponding to +ke... -
xmlrpc (13.0)
-
XML-RPC を扱うためのライブラリです。
...te procedure calls over
HTTP. It is defined at http://www.xmlrpc.com.
XMLRPC allows you to create simple distributed computing solutions that span
computer languages. Its distinctive feature is its simplicity compared to
other approaches like SOAP and CORBA.
The Ruby standard library package 'xm......lrpc' enables you to create a server that
implements remote procedures and a client that calls them. Very little code
is required to achieve either of these.
=== Example
Try the following code. It calls a standard demonstration remote procedure.
require 'xmlrpc/client'
require 'pp'
serve......sult = server.call("sample.sumAndDifference", 5, 3)
pp result
=== Documentation
See http://www.ntecs.de/projects/xmlrpc4r. There is plenty of detail there to
use the client and implement a server.
=== Features of XMLRPC for Ruby
* Extensions
* Introspection
* multiCall
* optiona... -
rdoc (7.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
.....
end
//}
:section: とは異なり、以降のドキュメントには影響しません。直後の要素
のみに影響します。
: :call-seq:
デフォルトではメソッドの引数や yield の引数をパースして出力しますが、
これを指定した次の行から... -
rexml
/ parsers / sax2parser (7.0) -
SAX2 と同等の API を持つストリーム式の XML パーサ。
...clude REXML::SAX2Listener
def method_missing(name, *args)
p [name, *args]
end
def respond_to_missing?(name, include_private)
name != :call
end
end
parser = REXML::Parsers::SAX2Parser.new(xml)
parser.listen(Listener.new)
parser.parse
# >> [:start_document]
# >> [:xmldecl, "1.0", "UTF... -
tsort (7.0)
-
tsort はトポロジカルソートと強連結成分に関するモジュールを提供します。
...inputs_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)
p...