るりまサーチ

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

別のキーワード

  1. _builtin <
  2. bigdecimal <
  3. float <
  4. integer <
  5. module <

ライブラリ

クラス

キーワード

検索結果

<< < 1 2 3 >>

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

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

...ます。

//emlist[][ruby]{
require '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 # => "t...

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

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

...返します。

//emlist[][ruby]{
require '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=\...
<< < 1 2 3 >>