96件ヒット
[1-96件を表示]
(0.014秒)
ライブラリ
- openssl (12)
- pstore (12)
-
rexml
/ document (24) -
webrick
/ httpservlet / filehandler (12)
クラス
- PStore (12)
-
WEBrick
:: HTTPServlet :: FileHandler (12)
モジュール
-
OpenSSL
:: X509 (12)
キーワード
- Pretty (12)
-
V
_ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT (12) - fetch (12)
- new (12)
- rdoc (12)
-
rexml
/ parsers / sax2parser (12) -
ruby 1
. 8 . 3 feature (12)
検索結果
先頭5件
-
REXML
:: Formatters :: Default (18078.0) -
XMLドキュメントを(文字列として)出力するクラスです。
...ers/default'
doc = REXML::Document.new <<EOS
<root>
<children>
<grandchildren/>
</children>
</root>
EOS
default_formatter = REXML::Formatters::Default.new
output = StringIO.new
default_formatter.write(doc, output)
output.string
# => "<root>\n<children>\n <grandchildren/>\n</children>\n</root>\n"......ingIO.new
default_formatter.write(REXML::XPath.first(doc, "/root/children"), output)
output.string
# => "<children>\n <grandchildren/>\n</children>"
ie_hack_formatter = REXML::Formatters::Default.new(true)
output = StringIO.new
ie_hack_formatter.write(doc, output)
output.string
# => "<root>\n<chil......dren>\n <grandchildren />\n</children>\n</root>\n"
//}... -
WEBrick
:: HTTPServlet :: FileHandler . new(server , root , options = {} , default = WEBrick :: Config :: FileHandler) (214.0) -
FileHandler サーブレットを生成します。ユーザが直接使うことはあまりあり ません。
...定します。
@param root サーブレットにルートディレクトリとして認識させる、
ローカルのファイルシステムのディレクトリを文字列で与える。
@param options 設定を保存したハッシュ、
@param default デフォルトの設定... -
PStore
# fetch(name , default = PStore :: Error) -> object (143.0) -
ルートnameに対応する値を得ます。
...るルートが登録されていない時には、
引数 default が与えられていればその値を返し、
与えられていなければ例外 PStore::Error が発生します。
@param name 探索するルート。
@param default name に対応するルートが登録されていない......場合に返す値を指定する。
@raise PStore::Error name に対応するルートが登録されていないかつ、
default が与えられていない場合に発生します。
また、トランザクション外でこのメソッドが呼び出......db.roots # => []
ary = db["root"] = [1,2,3,4]
ary[0] = [1,1.5]
end
db.transaction(true) do |pstore|
pstore.fetch("root") # => [[1, 1.5], 2, 3, 4]
pstore.fetch("root", 'aaa') # => [[1, 1.5], 2, 3, 4]
pstore.fetch("not_root") # => 例外発生
end
@see Ha... -
rexml
/ parsers / sax2parser (120.0) -
SAX2 と同等の API を持つストリーム式の XML パーサ。
...require 'rexml/parsers/sax2parser'
require 'rexml/sax2listener'
parser = REXML::Parsers::SAX2Parser.new(<<XML)
<root n="0">
<a n="1">111</a>
<b n="2">222</b>
<a n="3">333</a>
</root>
XML
elements = []
parser.listen(:start_element){|uri, localname, qname, attrs|
elements << [qname, attrs]
}......|uri, localname, qname, attrs|
as << [qname, attrs]
}
texts = []
parser.listen(:characters, ["a"]){|c| texts << c }
parser.parse
elements # => [["root", {"n"=>"0"}], ["a", {"n"=>"1"}], ["b", {"n"=>"2"}], ["a", {"n"=>"3"}]]
as # => [["a", {"n"=>"1"}], ["a", {"n"=>"3"}]]
texts # => ["111", "333"]
//......t">
%HTMLsymbol;
]>
<root xmlns="http://example.org/default"
xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar"><![CDATA[cdata is here]]>
<a foo:att='1' bar:att='2' att='<'>
<bar:b />
</a>
&& <!-- comment here--> &bar;
</root>
EOS
class Listener... -
rdoc (42.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
...down、rd、rdoc、tomdoc のいずれかから選択できます。
: --root root
Root of the source tree documentation will be generated for. Set this
when building documentation outside the source directory. Default is
the current directory.
: --page-dir dir
Directory where guides,......FAQ or other pages not associated with
a class live. Set this when you don't store such files at your
project root. NOTE: Do not use the same file name in the page dir
and the root of your project
: --copy-files path
path で指定したファイルかディレクトリを出力先のデ......合は、:section: を指定しなかった場合と同じように扱
われます。
//emlist{
# :category:
#
# This method is in the default category
def some_method
# ...
end
//}
:section: とは異なり、以降のドキュメントには影響しません。直後の要... -
REXML
:: Formatters :: Pretty (30.0) -
XMLドキュメントを(文字列として)見た目良く出力するクラスです。
...ormatters::Default と
異なり見た目のためテキストの改行や空白を修正して出力します。
//emlist[][ruby]{
require 'rexml/document'
require 'rexml/formatters/pretty'
doc = REXML::Document.new <<EOS
<root>
<children>
<grandchildren foo='bar'/>
</children>
</root>
EOS
pret......ty_formatter = REXML::Formatters::Pretty.new
output = StringIO.new
pretty_formatter.write(doc, output)
output.string
# => "<root>\n <children>\n <grandchildren foo='bar'/>\n </children>\n</root>"
# この出力結果は入力のXMLよりも空白が増えている
//}... -
OpenSSL
:: X509 :: V _ ERR _ UNABLE _ TO _ GET _ ISSUER _ CERT -> Integer (12.0) -
issuer(発行者)の証明書が 信頼している証明書群の中から見付からない ような証明書を、信頼している証明書群に含んでいることを意味します。
...んでいることを意味します。
つまり、信頼している証明書群に issuer を親とする木構造を考えた場合、
その root(根) となるノードが自己署名されていないことを意味します。
これは、通常信頼している証明書のリストが不......ことを意味します。
OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。
@see OpenSSL::X509::Store#add_file,
OpenSSL::X509::Store#add_path,
OpenSSL::X509::Store#add_cert,
OpenSSL::X509::Store#set_default_paths... -
ruby 1
. 8 . 3 feature (12.0) -
ruby 1.8.3 feature *((<ruby 1.8 feature>)) *((<ruby 1.8.2 feature>))
...ョンを受け付けるようになりました。
cd が :noop オプションを受け付けなくなりました。
cp_r が :dereference_root オプションを受け付けるようになりました。
=== 2005-09-16
: File.join [ruby] [compat]
型チェックを厳密にするよう......: URI::HTTP#proxy_open [lib][new]
(({:http_basic_authentication})) オプションの追加
((<ruby-core:4416>))
: OpenSSL::X509::Store#set_default_paths [lib][new]
追加 ((<ruby-dev:25670>))
=== 2005-02-06
: Resolv::DNS::Resource::TXT#strings [lib] [new]
: Resolv::DNS::Message::MessageE...