36件ヒット
[1-36件を表示]
(0.141秒)
別のキーワード
ライブラリ
- mkmf (12)
-
rexml
/ document (24)
クラス
-
REXML
:: Instruction (24)
モジュール
- Kernel (12)
キーワード
- content (12)
-
create
_ makefile (12)
検索結果
先頭3件
-
REXML
:: Instruction # target -> String (24220.0) -
XML 処理命令のターゲットを返します。
...ist[][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=\"sty... -
Kernel
# create _ makefile(target , srcprefix = nil) -> true (6232.0) -
@todo
...@todo
Kernel#have_library などの各種検査の結果を元に、拡張ライブラリを
ビルドするための Makefile を生成します。
extconf.rb は普通このメソッドの呼び出しで終ります。
@param target ターゲットとなる拡張ライブラリの名前を指......定します。
例えば、拡張ライブラリで "Init_foo" という関数を定義して
いる場合は、"foo" を指定します。
'/' を含む場合は、最後のスラッシュ以降のみをターゲット名
として使用し......例えば、'test/foo' を指定した場合、拡張ライブラリは
'test' ディレクトリにインストールされます。この拡張ライブ
ラリを Ruby スクリプトから使用するときは
"require 'test/foo'" とする必要... -
REXML
:: Instruction # content -> String | nil (6125.0) -
XML 処理命令の内容を返します。
...mlist[][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 />
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
//}...