66件ヒット
[1-66件を表示]
(0.136秒)
ライブラリ
- ビルトイン (11)
-
cgi
/ html (22) - mkmf (11)
-
rexml
/ document (22)
クラス
- Proc (11)
-
REXML
:: Instruction (22)
モジュール
-
CGI
:: HtmlExtension (22) - Kernel (11)
キーワード
- a (22)
- content (11)
-
dir
_ config (11) -
source
_ location (11)
検索結果
先頭5件
-
REXML
:: Instruction # target -> String (18209.0) -
XML 処理命令のターゲットを返します。
...quire '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\""
//}... -
Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] (394.0) -
configure オプション --with-TARGET-dir, --with-TARGET-include, --with-TARGET-lib をユーザが extconf.rb に指定できるようにします。
...configure オプション
--with-TARGET-dir,
--with-TARGET-include,
--with-TARGET-lib
をユーザが extconf.rb に指定できるようにします。
--with-TARGET-dir オプションは
システム標準ではない、
ヘッダファイルやライブラリがあるディレクトリをま......指定するために使います。
ユーザが extconf.rb に --with-TARGET-dir=PATH を指定したときは
$CFLAGS に "-IPATH/include" を、
$LDFLAGS に "-LPATH/lib" を、
それぞれ追加します。
--with-TARGET-include オプションは
システム標準ではないヘッダファ......f.rb に --with-TARGET-include=PATH を指定したときは
$CFLAGS に PATH を追加します。
--with-TARGET-lib オプションは
システム標準ではないライブラリのディレクトリを指定するために使います。
ユーザが extconf.rb に --with-TARGET-lib=PATH を... -
Proc
# source _ location -> [String , Integer] | nil (120.0) -
ソースコードのファイル名と行番号を配列で返します。
...である)場合は nil を返します。
//emlist[例][ruby]{
# /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_pr... -
CGI
:: HtmlExtension # a(href = "") -> String (115.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 (115.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 (114.0) -
XML 処理命令の内容を返します。
...ersion="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 # => nil
//}...