868件ヒット
[1-100件を表示]
(0.149秒)
ライブラリ
- ビルトイン (114)
-
cgi
/ html (44) - date (11)
- e2mmap (12)
-
irb
/ context (22) - logger (44)
-
net
/ http (121) - psych (11)
-
rdoc
/ markup (11) -
rdoc
/ markup / formatter (22) -
rexml
/ document (33) - rss (55)
-
rubygems
/ installer (11) -
rubygems
/ old _ format (66) -
rubygems
/ source _ index (11) -
rubygems
/ spec _ fetcher (22) -
rubygems
/ version _ option (11) - scanf (60)
-
webrick
/ httputils (121) -
webrick
/ log (22) - zlib (11)
クラス
- Date (11)
-
Encoding
:: Converter (44) -
Gem
:: Installer (11) -
Gem
:: OldFormat (66) -
Gem
:: SourceIndex (11) -
Gem
:: SpecFetcher (22) - Hash (18)
- IO (11)
-
IRB
:: Context (22) - Logger (22)
-
Logger
:: Formatter (22) -
Net
:: HTTP (66) -
Psych
:: Nodes :: Node (11) -
RDoc
:: Markup (11) -
RDoc
:: Markup :: Formatter (22) -
RDoc
:: Options (33) -
REXML
:: Formatters :: Default (11) -
REXML
:: Formatters :: Pretty (22) -
RSS
:: NotWellFormedError (22) -
Scanf
:: FormatSpecifier (24) -
Scanf
:: FormatString (24) - String (42)
- Time (11)
-
WEBrick
:: HTTPUtils :: FormData (121) -
WEBrick
:: Log (22) -
Zlib
:: GzipWriter (11)
モジュール
-
CGI
:: HtmlExtension (44) - DublinCoreModel (33)
- Exception2MessageMapper (12)
-
Gem
:: VersionOption (11) -
Net
:: HTTPHeader (55)
キーワード
- << (11)
- [] (11)
-
add
_ platform _ option (11) -
add
_ tag (11) -
append
_ data (11) -
content
_ type (11) -
content
_ type= (11) - convert (22)
-
datetime
_ format (22) -
datetime
_ format= (22) -
dc
_ format (11) -
dc
_ format= (11) -
dc
_ formats (11) -
def
_ exception (6) -
each
_ data (11) - element (11)
- fetch (11)
-
file
_ entries (11) -
file
_ entries= (11) - filename (11)
- filename= (11)
-
find
_ matching (11) -
form
_ data= (11) -
formatted
_ program _ filename (11) - formatter (11)
- formatter= (11)
-
gem
_ path (11) -
gem
_ path= (11) -
image
_ format (11) -
last
_ match _ tried (6) -
last
_ spec _ tried (6) - line (11)
- list (11)
- matched (6)
-
matched
_ count (6) -
matched
_ string (6) -
mid
_ match? (6) -
multipart
_ form (22) - name (11)
- name= (11)
- post (22)
- post2 (22)
-
primitive
_ convert (44) - printf (22)
- prune (6)
-
request
_ post (22) -
return
_ format (11) -
return
_ format= (11) - scanf (12)
- search (11)
-
set
_ content _ type (11) -
set
_ form _ data (11) - spec (11)
- spec= (11)
- strftime (22)
-
time
_ format (11) -
time
_ format= (11) -
to
_ ary (11) -
to
_ s (11) - transform (11)
-
transform
_ keys (9) -
transform
_ keys! (9) -
unicode
_ normalize (10) -
unicode
_ normalize! (10) -
unicode
_ normalized? (10) - width (17)
- width= (11)
- write (11)
検索結果
先頭5件
- CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") -> String - CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") { . . . } -> String - Logger
:: Formatter # datetime _ format=(format) - Logger
:: Formatter # datetime _ format -> String - Logger
# datetime _ format=(format)
-
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") -> String (18406.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param method method 属性の値として "get" か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI ス......-form-urlencoded" です。
例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="application/x-www-form-urlencoded">string</FORM>
form("get"){ "string" }
# <FORM METHOD="get" ENCTYPE="application/x-www-form-urlencoded">string</FORM>
form("get", "url"){ "string" }
# <FORM METHOD=......"get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</FORM>... -
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") { . . . } -> String (18406.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param method method 属性の値として "get" か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI ス......-form-urlencoded" です。
例:
form{ "string" }
# <FORM METHOD="post" ENCTYPE="application/x-www-form-urlencoded">string</FORM>
form("get"){ "string" }
# <FORM METHOD="get" ENCTYPE="application/x-www-form-urlencoded">string</FORM>
form("get", "url"){ "string" }
# <FORM METHOD=......"get" ACTION="url" ENCTYPE="application/x-www-form-urlencoded">string</FORM>... -
Logger
:: Formatter # datetime _ format=(format) (15319.0) -
ログの日時フォーマットをセットします。
...param format 日時のフォーマット文字列。Time#strftime で使用するフォーマット文字列と
同じものを使用できます。
//emlist[例][ruby]{
require 'logger'
formatter = Logger::Formatter.new
formatter.datetime_format # => nil
formatter.datetime_format =......'%Y-%m-%d %H:%M:%S' # => "%Y-%m-%d %H:%M:%S"
formatter.datetime_format # => "%Y-%m-%d %H:%M:%S"
//}
@see Time#strftime... -
Logger
:: Formatter # datetime _ format -> String (15201.0) -
ログの日時フォーマットを取得します。
ログの日時フォーマットを取得します。
@see Time#strftime -
Logger
# datetime _ format=(format) (12331.0) -
ログに記録する時の日付のフォーマットをセットします。
...ger.new(STDOUT)
logger.datetime_format # => nil
logger.debug("test")
logger.datetime_format = '%Y/%m/%dT%H:%M:%S.%06d' # => "%Y/%m/%dT%H:%M:%S.%06d"
logger.datetime_format # => "%Y/%m/%dT%H:%M:%S.%06d"
logger.debug("test")
# => D, [2019-03-13T23:52:13.674385 #17393] DEBUG -- : test
# D, [2019/0......3/13T23:52:13.000012#17393] DEBUG -- : test
//}
@see Time#strftime, Logger#datetime_format... -
Net
:: HTTPHeader # form _ data=(params) (12239.0) -
HTMLのフォームのデータ params から ヘッダフィールドとボディを設定します。
...tion/x-www-form-urlencoded' が設定されます。
@param params HTML のフォームデータの Hash を与えます。
@param sep データのセパレータを文字列で与えます。
//emlist[例 form_data][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
r......request_uri)
req.form_data = {"q" => ["ruby", "perl"], "lang" => "en"} # => {"q"=>["ruby", "perl"], "lang"=>"en"}
//}
//emlist[例 set_form_data][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.set_form_data({"q" => "ruby......", "lang" => "en"}, ';') # => "application/x-www-form-urlencoded"
//}... -
Net
:: HTTPHeader # set _ form _ data(params , sep = & # 39;&& # 39;) -> () (12239.0) -
HTMLのフォームのデータ params から ヘッダフィールドとボディを設定します。
...tion/x-www-form-urlencoded' が設定されます。
@param params HTML のフォームデータの Hash を与えます。
@param sep データのセパレータを文字列で与えます。
//emlist[例 form_data][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
r......request_uri)
req.form_data = {"q" => ["ruby", "perl"], "lang" => "en"} # => {"q"=>["ruby", "perl"], "lang"=>"en"}
//}
//emlist[例 set_form_data][ruby]{
require 'net/http'
uri = URI.parse('http://www.example.com/index.html')
req = Net::HTTP::Get.new(uri.request_uri)
req.set_form_data({"q" => "ruby......", "lang" => "en"}, ';') # => "application/x-www-form-urlencoded"
//}... -
Logger
# datetime _ format -> String | nil (12237.0) -
ログに記録する時の日付のフォーマットです。
...-%m-%dT%H:%M:%S.%06d " を使用します。
なお、"%06d" には Time#strftime ではなく、単に Time#usec の
値を String#% でフォーマットしたものが入ります。
//emlist[例][ruby]{
require 'logger'
logger = Logger.new(STDOUT)
logger.datetime_format # => nil
logger.debug......st")
logger.datetime_format = '%Y/%m/%dT%H:%M:%S.%06d'
logger.datetime_format # => "%Y/%m/%dT%H:%M:%S.%06d"
logger.debug("test")
# => D, [2019-03-12T22:52:13.674385 #17393] DEBUG -- : test
# D, [2019/03/12T22:52:13.000012#17393] DEBUG -- : test
//}
@see Time#strftime, Logger#datetime_format=... -
DublinCoreModel
# dc _ format (12201.0) -
@todo
...@todo... -
DublinCoreModel
# dc _ format= (12201.0) -
@todo
...@todo...