るりまサーチ

最速Rubyリファレンスマニュアル検索!
363件ヒット [1-100件を表示] (0.066秒)
トップページ > クエリ:-[x] > クエリ:on[x] > クエリ:instruction[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

検索結果

<< 1 2 3 ... > >>

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

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

...e ターゲット名が文字列で渡されます
@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 (12507.0)

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

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

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

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

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

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

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

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

self を複製します。

self を複製します。

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

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

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

絞り込み条件を変える

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

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

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

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

RubyVM::INSTRUCTION_NAMES -> [String] (12301.0)

RubyVM の命令シーケンスの名前の一覧を返します。

...RubyVM の命令シーケンスの名前の一覧を返します。

@see RubyVM::InstructionSequence...

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

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

...<?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\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => n...

RubyVM::InstructionSequence.compile_option -> Hash (12212.0)

命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。

...p RubyVM::InstructionSequence.compile_option

# => {:inline_const_cache=>true,
# :peephole_optimization=>true,
# :tailcall_optimization=>false,
# :specialized_instruction=>true,
# :operands_unification=>true,
# :instructions_unification=>false,
# :stack_caching=>false,
# :trace_instruction=>true,
#...
...:frozen_string_literal=>false,
# :debug_frozen_string_literal=>false,
# :coverage_enabled=>true,
# :debug_level=>0}
//}

@see RubyVM::InstructionSequence.compile_option=...

REXML::Instruction (12046.0)

XML 処理命令(XML Processing Instruction, XML PI)を表すクラス。

...理命令(XML Processing Instruction, XML PI)を表すクラス。

XML 処理命令 とは XML 文書中の <? と ?> で挟まれた部分のことで、
アプリケーションへの指示を保持するために使われます。

XML 宣言(文書先頭の <?xml version=... ?>)はXML処理命...
...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=\"style.css\""
//}...

絞り込み条件を変える

<< 1 2 3 ... > >>