99件ヒット
[1-99件を表示]
(0.144秒)
ライブラリ
- ビルトイン (11)
- mkmf (22)
- resolv (11)
-
rexml
/ document (44) -
rexml
/ sax2listener (11)
クラス
- Proc (11)
-
REXML
:: Instruction (44) -
Resolv
:: DNS :: Resource :: IN :: SRV (11)
モジュール
- Kernel (22)
-
REXML
:: SAX2Listener (11)
キーワード
- == (11)
- content (11)
-
create
_ makefile (11) -
dir
_ config (11) -
processing
_ instruction (11) -
source
_ location (11) - target= (11)
検索結果
先頭5件
-
REXML
:: Instruction # target -> String (21108.0) -
XML 処理命令のターゲットを返します。
...ットを返します。
//emlist[][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 # =... -
Resolv
:: DNS :: Resource :: IN :: SRV # target -> Resolv :: DNS :: Name (21102.0) -
対象のホストのホスト名を返します。
対象のホストのホスト名を返します。 -
REXML
:: Instruction # target=(value) (9202.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) -
ソースコードのファイル名と行番号を配列で返します。
...クトが ruby で定義されていない(つまりネイティブ
である)場合は nil を返します。
//emlist[例][ruby]{
# /path/to/target.rb を実行
proc {}.source_location # => ["/path/to/target.rb", 1]
proc {}.source_location # => ["/path/to/target.rb", 2]
(ev......al "proc {}").source_location # => ["(eval)", 1]
method(:p).to_proc.source_location # => nil
//}
@see Method#source_location... -
REXML
:: Instruction # content -> String | nil (3013.0) -
XML 処理命令の内容を返します。
...を返します。
//emlist[][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].conten......t # => "type=\"text/css\" href=\"style.css\""
doc[4].target # => "foobar"
doc[4].content # => nil
//}... -
REXML
:: Instruction # ==(other) -> bool (3007.0) -
other と self が同じ 処理命令である場合に真を返します。
...other と self が同じ 処理命令である場合に真を返します。
同じとは、 REXML::Instruction#target と REXML::Instruction#content
が一致することを意味します。
@param other 比較対象... -
Kernel
# dir _ config(target , idefault = nil , ldefault = nil) -> [String , String] (392.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 を... -
Kernel
# create _ makefile(target , srcprefix = nil) -> true (208.0) -
@todo
...ラリを
ビルドするための Makefile を生成します。
extconf.rb は普通このメソッドの呼び出しで終ります。
@param target ターゲットとなる拡張ライブラリの名前を指定します。
例えば、拡張ライブラリで "Init_foo" とい......'test' ディレクトリにインストールされます。この拡張ライブ
ラリを Ruby スクリプトから使用するときは
"require 'test/foo'" とする必要があります。
@param srcprefix ソースコードがあるディレクトリ名......test/
foo.c
このようにします。
require 'mkmf'
create_makefile('test/foo', 'test')
このようにして作った Makefile で 'make install' すると拡張ライブラリは、
以下のパスにインストールされます。
/path/to/ruby/sitearchdir/test/foo.so...