880件ヒット
[1-100件を表示]
(0.165秒)
種類
- インスタンスメソッド (616)
- 特異メソッド (187)
- 文書 (44)
- 定数 (22)
- クラス (11)
ライブラリ
- psych (154)
- rdoc (11)
-
rdoc
/ code _ object (11) -
rdoc
/ rdoc (11) -
rexml
/ document (627) -
rexml
/ sax2listener (22)
クラス
-
Psych
:: Handler (22) -
Psych
:: Nodes :: Document (55) -
Psych
:: Stream (22) -
Psych
:: Visitors :: YAMLTree (11) -
RDoc
:: CodeObject (11) -
RDoc
:: RDoc (11) -
REXML
:: Attribute (33) -
REXML
:: Attributes (132) -
REXML
:: CData (22) -
REXML
:: Child (11) -
REXML
:: DocType (55) -
REXML
:: Document (198) -
REXML
:: Element (88) -
REXML
:: Entity (11) -
REXML
:: Instruction (22) -
REXML
:: Text (11)
モジュール
- Psych (44)
- RDoc (11)
-
REXML
:: SAX2Listener (22) -
REXML
:: Security (33)
キーワード
- << (11)
- DECLARATION (11)
-
DOT
_ DOC _ FILENAME (11) - Instruction (11)
-
NEWS for Ruby 2
. 0 . 0 (11) - Ruby用語集 (11)
- [] (11)
- add (11)
-
add
_ attribute (22) -
add
_ attributes (11) -
add
_ namespace (11) - attribute (11)
-
attribute
_ of (11) -
attributes
_ of (11) - content (11)
- delete (11)
-
delete
_ all (11) -
delete
_ attribute (11) - doctype (11)
-
document
_ children (11) - dump (22)
- each (11)
-
each
_ attribute (11) -
each
_ element _ with _ attribute (11) - encoding (11)
-
end
_ document (22) -
entity
_ expansion _ limit (22) -
entity
_ expansion _ text _ limit (22) -
entity
_ expansion _ text _ limit= (22) -
get
_ attribute (11) -
get
_ attribute _ ns (11) - implicit (11)
-
implicit
_ end (11) - length (11)
- name (11)
- namespace (11)
- namespaces (11)
- new (66)
- parse (11)
-
parse
_ file (11) -
parse
_ stream (11) - prefix (11)
- prefixes (11)
- public (11)
- root (11)
-
ruby 1
. 8 . 4 feature (11) - size (11)
-
stand
_ alone? (11) - start (22)
-
start
_ document (22) -
tag
_ directives (11) - target (11)
-
to
_ a (11) -
to
_ string (11) - value (22)
- version (22)
- write (33)
-
xml
_ decl (11) - リテラル (11)
検索結果
先頭5件
-
REXML
:: Child # document -> REXML :: Document | nil (27640.0) -
そのノードが属する document (REXML::Document) を返します。
...そのノードが属する document (REXML::Document) を返します。
属する document が存在しない場合は nil を返します。... -
REXML
:: Element # document -> REXML :: Document | nil (24618.0) -
self が属する文書(REXML::Document)オブジェクトを返します。
...self が属する文書(REXML::Document)オブジェクトを返します。
属する文書がない場合には nil を返します。... -
RDoc
:: RDoc # document(argv) -> nil (24401.0) -
argv で与えられた引数を元にドキュメントをフォーマットして指定されたディ レクトリに出力します。
...同じ引数を文字
列の配列で指定します。
@raise RDoc::Error ドキュメントの処理中にエラーがあった場合に発生します。
指定できるオプションについては、lib:rdoc#usage を参照してくださ
い。出力ディレクトリが指定... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (18512.0) -
各属性に対しブロックを呼び出します。
...ttribute オブジェクトで渡されます。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").firs......t
a.attributes.each_attribute do |attr|
p [attr.namespace, attr.name, attr.value]
end
# => ["http://example.org/foo", "att", "1"]
# => ["http://example.org/bar", "att", "2"]
# => ["", "att", "<"]
//}... -
REXML
:: Attributes # get _ attribute(name) -> Attribute | nil (18512.0) -
name という名前の属性を取得します。
...得します。
name という名前を持つ属性がない場合は nil を返します。
@param name 属性名(文字列)
@see REXML::Attributes#[]
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://e......xample.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").first
a.attributes.get_attribute("att") # => att='<'
a.attributes.get_attribute("foo:att") # => foo:att='1'
//}... -
REXML
:: Attributes # get _ attribute _ ns(namespace , name) -> REXML :: Attribute | nil (18512.0) -
namespace と name で特定される属性を返します。
...る属性を返します。
namespace で名前空間を、 name で prefix を含まない属性名を
指定します。
指定された属性が存在しない場合は nil を返します。
XML プロセッサが prefix を置き換えてしまった場合でも、このメソッドを
使......(URI, 文字列)
@param name 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='<'/>
</root>
EOS
a = doc.get_elements("/root/a").fi......rst
a.attributes.get_attribute_ns("", "att") # => att='<'
a.attributes.get_attribute_ns("http://example.org/foo", "att") # => foo:att='1'
a.attributes.get_attribute_ns("http://example.org/baz", "att") # => nil
a.attributes.get_attribute_ns("http://example.org/foo", "attt") # => nil
//}... -
RDoc
:: CodeObject # document _ children -> bool (18407.0) -
自身に含まれるメソッド、エイリアス、定数や属性をドキュメントに含めるか どうかを返します。
...自身に含まれるメソッド、エイリアス、定数や属性をドキュメントに含めるか
どうかを返します。
@see RDoc::CodeObject#document_self... -
REXML
:: Document . entity _ expansion _ text _ limit -> Integer (18336.0) -
実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。
...トは 10240 (byte) です。
このメソッドは Ruby 2.1 から deprecated になりました。
REXML::Security.entity_expansion_text_limit を使ってください。
@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/... -
REXML
:: Security . entity _ expansion _ text _ limit -> Integer (18336.0) -
実体参照の展開による文字列の増分(テキストのバイト数)の 最大値を指定します。
...せ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 10240 (byte) です。
@see REXML::Document.entity_expansion_text_limit=,
http://www.ruby-lang.org/ja/news/2013/02/22/rexml-dos-2013-02-22/... -
REXML
:: Document . entity _ expansion _ limit -> Integer (18312.0) -
実体参照の展開回数の上限を返します。
...ML 文書(REXML::Document)ごとの展開回数がこの値を越えると
例外を発生させ、処理を中断します。
実体参照の展開処理を使った DoS 攻撃に対抗するための
仕組みです。
デフォルトは 10000 です。
このメソッドは Ruby 2.1 から dep......recated になりました。
REXML::Security.entity_expansion_limit を使ってください。
@see REXML::Document.entity_expansion_limit=...