るりまサーチ

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

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. open3 capture2e
  5. matrix rank_e

検索結果

<< 1 2 3 ... > >>

REXML::StreamListener#instruction(name, instruction) -> () (21315.0)

XML処理命令(PI)をパースしたときに呼び出されるコールバックメソッドです。

...@param name ターゲット名が文字列で渡されます
@param instruction 処理命令の内容が文字列で渡されます

=== 例
<?xml-stylesheet type="text/css" href="style.css"?>
というPIに対し
name: "xml-stylesheet"
instruction
: " type=\"text/css\" href=\"style.css\""
...

TracePoint#instruction_sequence -> RubyVM::InstructionSequence (12408.0)

script_compiledイベント発生時にコンパイルされた RubyVM::InstructionSequenceインスタンスを返します。

...iledイベント発生時にコンパイルされた
RubyVM::InstructionSequenceインスタンスを返します。

//emlist[例][ruby]{
TracePoint.new(:script_compiled) do |tp|
p tp.instruction_sequence # => <RubyVM::InstructionSequence:block in <main>@(eval):1>
e
nd.enable do
e
val("puts 'hell...
...o'")
e
nd
//}

@raise RuntimeError :script_compiled イベントのための
イベントフックの外側で実行した場合に発生します。...

REXML::SAX2Listener#processing_instruction(target, data) -> () (12202.0)

XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。

...XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。

@param target ターゲット名が文字列で渡されます
@param data 処理命令の内容が文字列で渡されます...

REXML::Element#instructions -> [REXML::Instraction] (9217.0)

すべての instruction 子ノードの配列を返します。

...すべての instruction 子ノードの配列を返します。

返される配列は freeze されます。...

REXML::Instruction#clone -> REXML::Instruction (9202.0)

self を複製します。

...self を複製します。...

絞り込み条件を変える

REXML::Instruction#node_type -> Symbol (9117.0)

Symbol :processing_instruction を返します。

...Symbol :processing_instruction を返します。...

REXML::Parsers::PullEvent#instruction? -> bool (9102.0)

XML処理命令なら真を返します。

XML処理命令なら真を返します。

REXML::Instruction#content -> String | nil (9101.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 />
E
OS
doc[2] # => <?p-i xml-stylesheet ...?>
doc[2].target # => "xml-stylesheet"
doc[2].content # => "type=\"text...
.../css\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => nil
//}...

REXML::Instruction#content=(value) (9101.0)

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

...XML 処理命令の内容を変更します。

@param value 新たなデータ(文字列)...
<< 1 2 3 ... > >>