144件ヒット
[101-144件を表示]
(0.133秒)
別のキーワード
ライブラリ
- ビルトイン (12)
-
cgi
/ html (24) - mkmf (36)
-
net
/ http (12) - resolv (12)
-
rexml
/ document (36) -
rexml
/ sax2listener (12)
クラス
-
Net
:: HTTP (12) - Proc (12)
-
REXML
:: Instruction (36) -
Resolv
:: DNS :: Resource :: IN :: SRV (12)
モジュール
-
CGI
:: HtmlExtension (24) - Kernel (36)
-
REXML
:: SAX2Listener (12)
キーワード
- a (24)
- content (12)
-
create
_ makefile (12) -
dir
_ config (12) - modified? (12)
- post (12)
-
processing
_ instruction (12) -
source
_ location (12) - target= (12)
検索結果
先頭4件
-
Kernel
# create _ makefile(target , srcprefix = nil) -> true (208.0) -
@todo
...ラリを
ビルドするための Makefile を生成します。
extconf.rb は普通このメソッドの呼び出しで終ります。
@param target ターゲットとなる拡張ライブラリの名前を指定します。
例えば、拡張ライブラリで "Init_foo" とい......定部分を文字列の配列として
yield します。
create_makefile('foo') {|conf|
[
*conf,
"MACRO_YOU_NEED = something",
]
}
ソースディレクトリに depend ファイルが存在する場合、その内容が
Kernel#depend_rules メソッドで整形さ... -
Net
:: HTTP # post(path , data , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse (119.0) -
サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。
...response, body = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# version 1.2
response = http.post('/cgi-bin/search.rb', 'query=subject&target=ruby')
# using block
File.open('save.html', 'w') {|f|
http.post('/cgi-bin/search.rb', 'query=subject&target=ruby') do |str|
f.write st... -
Proc
# source _ location -> [String , Integer] | nil (119.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... -
REXML
:: Instruction # content -> String | nil (113.0) -
XML 処理命令の内容を返します。
...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 #...