るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.015秒)
トップページ > バージョン:2.4.0[x] > クエリ:arg[x] > クラス:REXML::Instruction[x]

別のキーワード

  1. _builtin arg
  2. etc sc_arg_max
  3. mkmf arg_config
  4. float arg
  5. complex arg

ライブラリ

キーワード

検索結果

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

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

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 # => "t...

REXML::Instruction#target=(value) (18304.0)

XML 処理命令のターゲットを value に変更します。

XML 処理命令のターゲットを value に変更します。

@param value 新たなターゲット(文字列)

REXML::Instruction.new(target, content = nil) -> REXML::Instruction (304.0)

新たな Instruction オブジェクトを生成します。

新たな Instruction オブジェクトを生成します。

@param target ターゲット
@param content 内容