606件ヒット
[501-600件を表示]
(0.133秒)
ライブラリ
- ビルトイン (54)
- benchmark (12)
-
cgi
/ html (96) - date (12)
-
irb
/ context (12) - logger (48)
-
net
/ http (12) -
rubygems
/ format (12) -
rubygems
/ installer (12) -
rubygems
/ old _ format (12) -
rubygems
/ platform (48) -
rubygems
/ specification (24) - scanf (108)
- stringio (12)
-
syslog
/ logger (12) -
webrick
/ httprequest (12) -
webrick
/ httputils (72) -
webrick
/ log (24)
クラス
-
Benchmark
:: Tms (12) - Date (12)
-
Gem
:: Format (12) -
Gem
:: Installer (12) -
Gem
:: OldFormat (12) -
Gem
:: Platform (48) -
Gem
:: Specification (24) - IO (12)
-
IRB
:: Context (12) - Logger (24)
-
Logger
:: Formatter (24) -
RDoc
:: Options (12) -
Scanf
:: FormatSpecifier (12) -
Scanf
:: FormatString (60) - String (54)
- StringIO (12)
-
Syslog
:: Logger :: Formatter (12) - Time (12)
-
WEBrick
:: HTTPRequest (12) -
WEBrick
:: HTTPUtils :: FormData (72) -
WEBrick
:: Log (24)
モジュール
-
CGI
:: HtmlExtension (96) - Kernel (12)
-
Net
:: HTTPHeader (12)
キーワード
- [] (12)
- call (24)
-
content
_ type (12) - cpu (12)
-
datetime
_ format (24) - filename (12)
- filename= (12)
- format (12)
-
formatted
_ program _ filename (12) - formatter (12)
-
gem
_ path (24) -
image
_ format (12) -
last
_ match _ tried (6) -
last
_ spec (6) -
last
_ spec _ tried (6) - match (6)
-
matched
_ count (6) -
matched
_ string (6) -
multipart
_ form (48) - name (12)
- name= (12)
-
original
_ platform (12) - os (12)
- platform (12)
- printf (12)
- prune (6)
- query (12)
-
re
_ string (6) -
return
_ format (12) - scanf (36)
- space (6)
-
spec
_ count (6) - strftime (24)
-
string
_ left (6) -
time
_ format (12) -
time
_ format= (12) -
to
_ s (30) -
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - unpack1 (9)
- version (12)
検索結果
先頭5件
-
WEBrick
:: HTTPUtils :: FormData # to _ s -> String (3102.0) -
自身が表すフォームデータのうちのひとつを文字列として返します。
自身が表すフォームデータのうちのひとつを文字列として返します。 -
WEBrick
:: HTTPUtils :: FormData # filename=(value) (3002.0) -
フォームデータの filename 属性を文字列で表すアクセサです。
フォームデータの filename 属性を文字列で表すアクセサです。
@param value フォームデータの filename 属性を文字列で指定します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].filename #=> "my_file.txt"
end
end
MyCGI.new.start() -
WEBrick
:: HTTPUtils :: FormData # name=(value) (3002.0) -
フォームデータの name 属性を文字列で表すアクセサです。
フォームデータの name 属性を文字列で表すアクセサです。
@param value フォームデータの name 属性を文字列で指定します。
例:
require "webrick/cgi"
class MyCGI < WEBrick::CGI
def do_GET(req, res)
p req.query['q'].name #=> "q"
end
end
MyCGI.new.start() -
Date
# strftime(format = & # 39;%F& # 39;) -> String (202.0) -
与えられた雛型で日付を書式づけます。
..., %I, %j, %k, %L, %l,
%M, %m, %N, %n, %P, %p, %Q, %R, %r, %S, %s, %T, %t, %U, %u, %V, %v, %W, %w, %X,
%x, %Y, %y, %Z, %z, %:z, %::z, %:::z, %%, %+
GNU 版にあるような幅指定などもできます。
strftime(3)、および Date.strptime も参照してください。
@param format 書式... -
Time
# strftime(format) -> String (202.0) -
時刻を format 文字列に従って文字列に変換した結果を返します。
...時刻を format 文字列に従って文字列に変換した結果を返します。
@param format フォーマット文字列を指定します。使用できるものは 以下の通りです。
* %A: 曜日の名称(Sunday, Monday ... )
* %a: 曜日の省略名(Sun, Mon ... )
* %B: 月... -
IO
# scanf(format) -> Array (123.0) -
String#scanfも参照してください。
...
String#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。... -
IO
# scanf(format) {|*ary| . . . } -> Array (123.0) -
String#scanfも参照してください。
...
String#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。... -
Net
:: HTTPHeader # content _ type -> String|nil (114.0) -
"text/html" のような Content-Type を表す 文字列を返します。
...は nil を返します。
//emlist[例][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/comments.cgi?post=comment')
req = Net::HTTP::Post.new(uri.request_uri)
req.content_type # => nil
req.content_type = 'multipart/form-data'
req.content_type # => "multipart/form-data"
//}... -
Kernel
# scanf(format) -> Array (107.0) -
STDIN.scanf と同じです。 IO#scanf、Stdin#scanfも参照してください。
...STDIN.scanf と同じです。
IO#scanf、Stdin#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。
@see IO#scanf, Stdin#scanf... -
Kernel
# scanf(format) {|*ary| . . . } -> Array (107.0) -
STDIN.scanf と同じです。 IO#scanf、Stdin#scanfも参照してください。
...STDIN.scanf と同じです。
IO#scanf、Stdin#scanfも参照してください。
@param format スキャンするフォーマットを文字列で指定します。
詳細は、m:String#scanf#format を参照してください。
@see IO#scanf, Stdin#scanf... -
WEBrick
:: HTTPRequest # query -> Hash (19.0) -
リクエストのクエリーあるいはクライアントがフォームへ入力した値を表すハッシュを返します。
...multipart/form-data なフォームデータの場合には
ユーザが content-transfer-encoding ヘッダを見て適切に処理する必要があります。
ハッシュの値は正確には文字列ではなく String クラスのサブクラスである WEBrick::HTTPUtils::FormData
クラ......スのインスタンスです。
multipart/form-data なフォームデータであってもサイズの制限なく、通常のフォームデータと
同じように扱われることに注意してください。クライアントからの入力によっては巨大な文字列が
生成され...