35件ヒット
[1-35件を表示]
(0.016秒)
キーワード
- coverage (8)
- getoptlong (12)
-
webrick
/ httpauth / authenticator (12) - xmlrpc (3)
検索結果
-
webrick
/ httpauth / authenticator (6001.0) -
HTTP 認証で利用するモジュールを提供するライブラリです。
HTTP 認証で利用するモジュールを提供するライブラリです。 -
coverage (13.0)
-
カバレッジを測定するためのライブラリです。
..."coverage"
Coverage.start(branches: true)
load "foo.rb"
pp Coverage.result
# {"foo.rb"=>
# {:branches=>
# {[:if, 0, 6, 0, 10, 3]=>
# {[:then, 1, 7, 2, 7, 7]=>1, [:else, 2, 9, 2, 9, 7]=>0}}}}
//}
キーの :branches が指すハッシュの各キーは条件分岐(の識別情報)であ......//emlist[][ruby]{
require "coverage"
Coverage.start(:all)
load "foo.rb"
pp Coverage.result
# {"foo.rb"=>
# {:lines=>[1, 1, 10, nil, nil, 1, 1, nil, 0, nil],
# :branches=>
# {[:if, 0, 6, 0, 10, 3]=>
# {[:then, 1, 7, 2, 7, 7]=>1, [:else, 2, 9, 2, 9, 7]=>0}},
# :methods=>{}}}
//}... -
getoptlong (13.0)
-
getoptlong は、GNU の getopt_long() とまったく同じ方式でコマンド 行オプションの解析を行う Ruby のライブラリです。
...m size
-q --quiet --silence Suppress all warnings
--help Output this help, then exit
--version Output version number, then exit
まず、`getoptlong.rb' を Ruby で書かれたあなたのプログラムに取り込みま
す。... -
xmlrpc (7.0)
-
XML-RPC を扱うためのライブラリです。
...ions that span
computer languages. Its distinctive feature is its simplicity compared to
other approaches like SOAP and CORBA.
The Ruby standard library package 'xmlrpc' enables you to create a server that
implements remote procedures and a client that calls them. Very little code
is required to......sed (works with FastCGI)
* Apache mod_ruby server
* WEBrick servlet
* Client
* synchronous/asynchronous calls
* Basic HTTP-401 Authentification
* HTTPS protocol (SSL)
* Parsers
* NQXML (NQXMLStreamParser, NQXMLTreeParser)
* Expat (XMLStreamParser, XMLTreeParser)......es above all use the default parser (which is now since 1.8
REXMLStreamParser) and a default XML writer. If you want to use a different
XML parser, then you have to call the <i>set_parser</i> method of
XMLRPC::Client instances or instances of subclasses of
XMLRPC::BasicServer or by editing xmlrpc/c...