25件ヒット
[1-25件を表示]
(0.028秒)
検索結果
-
xmlrpc (19.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......ossible to choose between XMLParser module (Expat wrapper) and REXML/NQXML (pure Ruby) parsers
* Marshalling Ruby objects to Hashs and reconstruct them later from a Hash
* SandStorm component architecture Client interface
=== Choosing a different XML Parser or XML Writer
The examples above... -
rdoc (13.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...に指定した --op を上書きします。デフォルトのディレクトリ
は ri のデフォルトのサーチパスです。
: --show-hash
コメント内の name というところからインスタンスメソッドへのハイパーリ
ンクを生成します。このオプシ........
end
//}
:section: とは異なり、以降のドキュメントには影響しません。直後の要素
のみに影響します。
: :call-seq:
デフォルトではメソッドの引数や yield の引数をパースして出力しますが、
これを指定した次の行から... -
tsort (13.0)
-
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], 2=>[3],......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...