167件ヒット
[1-100件を表示]
(0.049秒)
別のキーワード
ライブラリ
- ビルトイン (11)
-
cgi
/ html (22) - csv (11)
- nkf (11)
- resolv (11)
-
rexml
/ document (66) -
rexml
/ sax2listener (11)
クラス
- Proc (11)
-
REXML
:: Instruction (55) -
Resolv
:: DNS :: Resource :: IN :: SRV (11)
モジュール
-
CGI
:: HtmlExtension (22) -
REXML
:: SAX2Listener (11)
キーワード
- == (11)
- CSV (11)
- Instruction (11)
-
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 2
. 6 . 0 (6) - NKF (11)
- a (22)
- content (11)
- new (22)
-
processing
_ instruction (11) -
source
_ location (11) - target= (11)
- yaml (11)
検索結果
先頭5件
-
REXML
:: Instruction # target -> String (21107.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) (9101.0) -
XML 処理命令のターゲットを value に変更します。
XML 処理命令のターゲットを value に変更します。
@param value 新たなターゲット(文字列) -
REXML
:: SAX2Listener # processing _ instruction(target , data) -> () (6207.0) -
XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。
...XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。
@param target ターゲット名が文字列で渡されます
@param data 処理命令の内容が文字列で渡されます... -
Proc
# source _ location -> [String , Integer] | nil (6118.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... -
REXML
:: Instruction (6006.0) -
XML 処理命令(XML Processing Instruction, XML PI)を表すクラス。
...令(XML Processing Instruction, XML PI)を表すクラス。
XML 処理命令 とは XML 文書中の <? と ?> で挟まれた部分のことで、
アプリケーションへの指示を保持するために使われます。
XML 宣言(文書先頭の <?xml version=... ?>)は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 . new(target , content = nil) -> REXML :: Instruction (3207.0) -
新たな Instruction オブジェクトを生成します。
...新たな Instruction オブジェクトを生成します。
@param target ターゲット
@param content 内容... -
CGI
:: HtmlExtension # a(href = "") -> String (3012.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 (3012.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 (3012.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 (3006.0) -
other と self が同じ 処理命令である場合に真を返します。
...other と self が同じ 処理命令である場合に真を返します。
同じとは、 REXML::Instruction#target と REXML::Instruction#content
が一致することを意味します。
@param other 比較対象...