180件ヒット
[101-180件を表示]
(0.072秒)
ライブラリ
- ビルトイン (12)
-
cgi
/ html (24) - mkmf (36)
-
net
/ http (24) - resolv (12)
-
rexml
/ document (48) -
rexml
/ sax2listener (12) - un (12)
クラス
-
Net
:: HTTP (24) - Proc (12)
-
REXML
:: Instruction (48) -
Resolv
:: DNS :: Resource :: IN :: SRV (12)
モジュール
-
CGI
:: HtmlExtension (24) - Kernel (48)
-
REXML
:: SAX2Listener (12)
キーワード
- == (12)
- a (24)
- content (12)
-
create
_ makefile (12) -
dir
_ config (12) - ln (12)
- modified? (12)
- post (24)
-
processing
_ instruction (12) -
source
_ location (12) - target= (12)
検索結果
先頭5件
-
Net
:: HTTP # post(path , data , header = nil , dest = nil) {|body _ segment| . . . . } -> Net :: HTTPResponse (19.0) -
サーバ上の path にあるエンティティに対し文字列 data を POST で送ります。
...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 str
end
}
//}
@s... -
Proc
# source _ location -> [String , Integer] | nil (19.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 (13.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 (13.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 (13.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
//}... -
Kernel
# ln -> () (7.0) -
ファイルへのリンクを作成します。
...ファイルへのリンクを作成します。
ruby -run -e ln -- [OPTION] TARGET LINK_NAME
-s ハードリンクの代わりにシンボリックリンクを作成します
-f LINK_NAME を上書きします
-v 詳細表示
@see ln(1)... -
REXML
:: Instruction # ==(other) -> bool (7.0) -
other と self が同じ 処理命令である場合に真を返します。
...other と self が同じ 処理命令である場合に真を返します。
同じとは、 REXML::Instruction#target と REXML::Instruction#content
が一致することを意味します。
@param other 比較対象...