るりまサーチ

最速Rubyリファレンスマニュアル検索!
156件ヒット [1-100件を表示] (0.100秒)

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. bigdecimal to_r
  5. fileutils rm_r

キーワード

検索結果

<< 1 2 > >>

REXML::Document#version -> String (12303.0)

XML 宣言に含まれている XML 文書のバージョンを返します。

...XML 宣言を持たない場合はデフォルトの値
(REXML::XMLDecl.defaultで宣言されているもの)を返します。

//emlist[][ruby]{
r
equire 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.version # => "1.0"
//}...

REXML::Instruction#content -> String | nil (12303.0)

XML 処理命令の内容を返します。

...][ruby]{
r
equire 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<?foobar?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" hre...
...f=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => nil
//}...

REXML::XMLDecl#version -> String (12303.0)

XML文書のバージョンを文字列で返します。

XML文書のバージョンを文字列で返します。

REXML::XMLDecl#stand_alone? -> String | nil (9304.0)

スタンドアロン文書であるかどうかを "yes" "no" で 返します。

スタンドアロン文書であるかどうかを "yes" "no" で
返します。

nil(省略)を返す場合もあります。

REXML::XMLDecl#standalone -> String | nil (9304.0)

スタンドアロン文書であるかどうかを "yes" "no" で 返します。

スタンドアロン文書であるかどうかを "yes" "no" で
返します。

nil(省略)を返す場合もあります。

絞り込み条件を変える

REXML::Document#stand_alone? -> String (9303.0)

XML 宣言の standalone の値を文字列で返します。

...XML 宣言の standalone の値を文字列で返します。

//emlist[][ruby]{
r
equire 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<e />
EOS
doc.stand_alone? # => "yes"
//}...

REXML::Instruction#target -> String (9203.0)

XML 処理命令のターゲットを返します。

...list[][ruby]{
r
equire 'rexml/document'
doc = REXML::Document.new(<<EOS)
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/css" href="style.css"?>
<root />
EOS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text/css\" href=\"st...

REXML::ParseException#to_s -> String (6204.0)

例外情報を文字列化して返します。

例外情報を文字列化して返します。

REXML::Declaration#to_s -> String (6203.0)

ノードを文字列化します。

ノードを文字列化します。
<< 1 2 > >>