ライブラリ
- ビルトイン (45)
- benchmark (12)
-
cgi
/ html (96) - date (12)
- logger (48)
-
net
/ http (12) -
rubygems
/ installer (12) -
rubygems
/ old _ format (12) -
rubygems
/ platform (48) -
rubygems
/ specification (24) - scanf (36)
- stringio (12)
-
syslog
/ logger (12) -
webrick
/ httputils (72) -
webrick
/ log (24)
クラス
-
Benchmark
:: Tms (12) - Date (12)
-
Gem
:: Installer (12) -
Gem
:: OldFormat (12) -
Gem
:: Platform (48) -
Gem
:: Specification (24) - Logger (24)
-
Logger
:: Formatter (24) -
Scanf
:: FormatString (24) - String (33)
- StringIO (12)
-
Syslog
:: Logger :: Formatter (12) - Time (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 (12) -
last
_ match _ tried (6) -
last
_ spec (6) -
last
_ spec _ tried (6) -
multipart
_ form (48) - name (12)
- name= (12)
-
original
_ platform (12) - os (12)
- platform (12)
- printf (12)
- scanf (12)
- strftime (24)
-
string
_ left (6) -
time
_ format (12) -
time
_ format= (12) -
to
_ s (24) -
unicode
_ normalize (11) -
unicode
_ normalize! (11) -
unicode
_ normalized? (11) - version (12)
検索結果
先頭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 - CGI
:: HtmlExtension # form(attributes) -> String - CGI
:: HtmlExtension # form(attributes) { . . . } -> String - Scanf
:: FormatString # string _ left
-
CGI
:: HtmlExtension # form(method = "post" , action = nil , enctype = "application / x-www-form-urlencoded") -> String (21548.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param method method 属性の値として "get" か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI ス......"application/x-www-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 (21548.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param method method 属性の値として "get" か "post" を指定します。
@param action action 属性の値を指定します。デフォルトは現在の CGI ス......"application/x-www-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(attributes) -> String (21283.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param attributes 属性をハッシュで指定します。
例:
form({"METHOD" => "post", ENCTYPE => "enctype"}){ "string" }
# <FORM METHOD="post" ENCTYPE="enctype">......string</FORM>
@see CGI::HtmlExtension#multipart_form... -
CGI
:: HtmlExtension # form(attributes) { . . . } -> String (21283.0) -
form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...
form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param attributes 属性をハッシュで指定します。
例:
form({"METHOD" => "post", ENCTYPE => "enctype"}){ "string" }
# <FORM METHOD="post" ENCTYPE="enctype">......string</FORM>
@see CGI::HtmlExtension#multipart_form... -
Scanf
:: FormatString # string _ left (18202.0) -
@todo
@todo -
String
# unicode _ normalize(form = :nfc) -> String (15321.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列を返します。
...self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し
た文字列を返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::Comp......atibilityError self が Unicode 文字列ではない場合
に発生します。
このメソッドでの "Unicode 文字列" とは、UTF-8、UTF-16BE/LE、
UTF-32BE/LE だけではなく GB18030、UCS_2BE、and UCS_4BE を含みます。
また、self が UTF......ます。
//emlist[例][ruby]{
"a\u0300".unicode_normalize # => 'à' ("\u00E0" と同じ)
"a\u0300".unicode_normalize(:nfc) # => 'à' ("\u00E0" と同じ)
"\u00E0".unicode_normalize(:nfd) # => 'à' ("a\u0300" と同じ)
"\xE0".force_encoding('ISO-8859-1').unicode_normalize(:nfd)... -
String
# unicode _ normalized?(form = :nfc) -> bool (15236.0) -
self が引数 form で指定された正規化形式で Unicode 正規化された文字列か どうかを返します。
...self が引数 form で指定された正規化形式で Unicode 正規化された文字列か
どうかを返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定しま
す。省略した場合は :nfc になります。
@raise Encoding::Co......lityError self が Unicode 文字列ではない場合
に発生します。
//emlist[例][ruby]{
"a\u0300".unicode_normalized? # => false
"a\u0300".unicode_normalized?(:nfd) # => true
"\u00E0".unicode_normalized? # => true
"\u00E0".unicode_normal......ized?(:nfd) # => false
"\xE0".force_encoding('ISO-8859-1').unicode_normalized?
# => Encoding::CompatibilityError raised
//}
@see String#unicode_normalize, String#unicode_normalize!... -
String
# unicode _ normalize!(form = :nfc) -> self (15220.0) -
self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し た文字列に置き換えます。
...self を NFC、NFD、NFKC、NFKD のいずれかの正規化形式で Unicode 正規化し
た文字列に置き換えます。
(gsub!などと異なり)変換が行なわれなくても self を返します。
@param form 正規化形式を :nfc、:nfd、:nfkc、:nfkd のいずれかで指定し......@raise Encoding::CompatibilityError self が Unicode 文字列ではない場合
に発生します。
//emlist[例][ruby]{
text = "a\u0300"
text.unicode_normalize!(:nfc)
text == "\u00E0" # => true
text.unicode_normalize!(:nfd)
text == "a\u0300"......# => true
//}
@see String#unicode_normalize, String#unicode_normalized?... -
CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") -> String (12587.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...ultipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param action action 属性の値を指定します。
@param enctype enctype 属性の値を指定します。
例:
multipart_form{......"string" }
# <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM>... -
CGI
:: HtmlExtension # multipart _ form(action = nil , enctype = "multipart / form-data") { . . . } -> String (12587.0) -
enctype 属性に "multipart/form-data" をセットした form 要素を生成します。 ブロックを与えると、ブロックを評価した結果が内容になります。
...ultipart/form-data" をセットした form 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param action action 属性の値を指定します。
@param enctype enctype 属性の値を指定します。
例:
multipart_form{......"string" }
# <FORM METHOD="post" ENCTYPE="multipart/form-data">string</FORM>...