1272件ヒット
[1-100件を表示]
(0.131秒)
ライブラリ
- json (12)
- psych (228)
-
rdoc
/ code _ object (24) -
rdoc
/ rdoc (12) -
rexml
/ document (900) -
rexml
/ parsers / sax2parser (60) -
rexml
/ sax2listener (24) - win32ole (12)
クラス
-
JSON
:: State (12) - Object (24)
-
Psych
:: Handler (24) -
Psych
:: Nodes :: Document (96) -
Psych
:: Nodes :: Node (24) -
Psych
:: Stream (36) -
RDoc
:: CodeObject (24) -
RDoc
:: RDoc (12) -
REXML
:: Attribute (36) -
REXML
:: Attributes (156) -
REXML
:: CData (24) -
REXML
:: Child (36) -
REXML
:: DocType (108) -
REXML
:: Document (144) -
REXML
:: Element (216) -
REXML
:: Elements (84) -
REXML
:: Instruction (24) -
REXML
:: Parsers :: SAX2Parser (60) -
REXML
:: Text (36) -
REXML
:: XMLDecl (36) -
WIN32OLE
_ EVENT (12)
モジュール
- Kernel (24)
-
REXML
:: SAX2Listener (24)
キーワード
- << (24)
- [] (24)
- []= (24)
- add (24)
-
add
_ attribute (24) -
add
_ attributes (12) -
add
_ element (12) -
add
_ namespace (24) - attribute (12)
-
attribute
_ of (12) -
attributes
_ of (12) - content (12)
- delete (12)
-
delete
_ all (12) -
delete
_ attribute (12) - doctype (24)
-
document
_ children (12) -
document
_ children= (12) - dowrite (12)
- each (24)
-
each
_ attribute (12) -
each
_ element _ with _ attribute (12) -
each
_ element _ with _ text (12) - encoding (12)
-
end
_ document (24) - entities (12)
- entity (12)
-
external
_ id (12) - finish (12)
- generate (12)
-
get
_ attribute (12) -
get
_ attribute _ ns (12) -
get
_ text (12) - handler= (12)
- implicit (12)
- implicit= (12)
-
implicit
_ end (12) -
implicit
_ end= (12) - length (12)
- listen (60)
- name (24)
- namespace (24)
- namespaces (24)
-
next
_ element (12) -
next
_ sibling= (12) - nowrite (12)
- prefix (12)
- prefixes (24)
-
previous
_ sibling= (12) -
psych
_ to _ yaml (12) -
psych
_ y (12) - public (12)
- root (12)
- size (24)
-
stand
_ alone? (12) - start (24)
-
start
_ document (24) - system (12)
-
tag
_ directives (12) -
tag
_ directives= (12) - target (12)
- text (12)
-
to
_ a (24) -
to
_ s (24) -
to
_ string (12) -
to
_ yaml (24) - value (24)
- version (24)
- version= (12)
- write (36)
- writethis (12)
-
xml
_ decl (12) - xpath (12)
- y (12)
- yaml (12)
検索結果
先頭5件
-
REXML
:: Child # document -> REXML :: Document | nil (21341.0) -
そのノードが属する document (REXML::Document) を返します。
...そのノードが属する document (REXML::Document) を返します。
属する document が存在しない場合は nil を返します。... -
REXML
:: Element # document -> REXML :: Document | nil (18319.0) -
self が属する文書(REXML::Document)オブジェクトを返します。
...self が属する文書(REXML::Document)オブジェクトを返します。
属する文書がない場合には nil を返します。... -
RDoc
:: RDoc # document(argv) -> nil (18202.0) -
argv で与えられた引数を元にドキュメントをフォーマットして指定されたディ レクトリに出力します。
...と同じ引数を文字
列の配列で指定します。
@raise RDoc::Error ドキュメントの処理中にエラーがあった場合に発生します。
指定できるオプションについては、lib:rdoc#usage を参照してくださ
い。出力ディレクトリが指... -
RDoc
:: CodeObject # document _ children -> bool (12208.0) -
自身に含まれるメソッド、エイリアス、定数や属性をドキュメントに含めるか どうかを返します。
...自身に含まれるメソッド、エイリアス、定数や属性をドキュメントに含めるか
どうかを返します。
@see RDoc::CodeObject#document_self... -
RDoc
:: CodeObject # document _ children=(val) (12208.0) -
自身に含まれるメソッド、エイリアス、定数や属性をドキュメントに含めるか どうかを設定します。
...トに含めるか
どうかを設定します。
:nodoc:、:stopdoc: を指定した時に false が設定されます。
@param val true を指定した場合、上記をドキュメントに含めます。
@see RDoc::CodeObject#document_self=,
RDoc::CodeObject#remove_classes_and_modules... -
REXML
:: Attributes # each _ attribute {|attribute| . . . } -> () (9213.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 (9213.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:......//example.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 (9213.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").fir......st
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
//}... -
REXML
:: Document # encoding -> String (9213.0) -
XML 宣言に含まれている XML 文書のエンコーディングを返します。
...宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.encoding # => "UTF-8"
//}...