96件ヒット
[1-96件を表示]
(0.081秒)
別のキーワード
ライブラリ
- ビルトイン (12)
-
cgi
/ html (24) -
rexml
/ document (48) -
rexml
/ sax2listener (12)
クラス
- Proc (12)
-
REXML
:: Instruction (48)
モジュール
-
CGI
:: HtmlExtension (24) -
REXML
:: SAX2Listener (12)
キーワード
- == (12)
- a (24)
- content (12)
-
processing
_ instruction (12) -
source
_ location (12) - target= (12)
検索結果
先頭5件
-
REXML
:: Instruction # target -> String (21108.0) -
XML 処理命令のターゲットを返します。
...][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=\"text/css\" href=\"style.c... -
REXML
:: Instruction # target=(value) (9102.0) -
XML 処理命令のターゲットを value に変更します。
XML 処理命令のターゲットを value に変更します。
@param value 新たなターゲット(文字列) -
REXML
:: SAX2Listener # processing _ instruction(target , data) -> () (6208.0) -
XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。
...XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。
@param target ターゲット名が文字列で渡されます
@param data 処理命令の内容が文字列で渡されます... -
Proc
# source _ location -> [String , Integer] | nil (6119.0) -
ソースコードのファイル名と行番号を配列で返します。
...by]{
# /path/to/target.rb を実行
proc {}.source_location # => ["/path/to/target.rb", 1]
proc {}.source_location # => ["/path/to/target.rb", 2]
(eval "proc {}").source_location # => ["(eval)", 1]
method(:p).to_proc.source_location # => nil
//}
@see Method#source_location... -
CGI
:: HtmlExtension # a(href = "") -> String (3013.0) -
a 要素を生成します。
...定することもできます。
例:
a("http://www.example.com") { "Example" }
# => "<A HREF=\"http://www.example.com\">Example</A>"
a("HREF" => "http://www.example.com", "TARGET" => "_top") { "Example" }
# => "<A HREF=\"http://www.example.com\" TARGET=\"_top\">Example</A>"... -
CGI
:: HtmlExtension # a(href = "") { . . . } -> String (3013.0) -
a 要素を生成します。
...定することもできます。
例:
a("http://www.example.com") { "Example" }
# => "<A HREF=\"http://www.example.com\">Example</A>"
a("HREF" => "http://www.example.com", "TARGET" => "_top") { "Example" }
# => "<A HREF=\"http://www.example.com\" TARGET=\"_top\">Example</A>"... -
REXML
:: Instruction # content -> String | nil (3013.0) -
XML 処理命令の内容を返します。
...nt.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\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].c... -
REXML
:: Instruction # ==(other) -> bool (3007.0) -
other と self が同じ 処理命令である場合に真を返します。
...other と self が同じ 処理命令である場合に真を返します。
同じとは、 REXML::Instruction#target と REXML::Instruction#content
が一致することを意味します。
@param other 比較対象...